Browse Source

cell: insert a (disabled) call to spe_cpu_info_get()

Found on the Cell devel forum, but doesn't appear to be available in SDK 2.1.
tags/mesa_20090313
Brian 17 years ago
parent
commit
9404712257
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/gallium/drivers/cell/ppu/cell_context.c

+ 3
- 0
src/gallium/drivers/cell/ppu/cell_context.c View File

@@ -228,6 +228,9 @@ cell_create_context(struct pipe_winsys *winsys, struct cell_winsys *cws)
* SPU stuff
*/
cell->num_spus = 6;
/* XXX is this in SDK 3.0 only?
cell->num_spus = spe_cpu_info_get(SPE_COUNT_PHYSICAL_SPES, -1);
*/

cell_start_spus(cell);


Loading…
Cancel
Save