Searched defs:num_spus (Results 1 - 2 of 2) sorted by relevance

/vbox/src/VBox/HostServices/SharedOpenGL/crserverlib/
H A Dserver_config.c90 int num_spus; local
129 num_spus = crStrToInt(spuchain[0]);
130 spu_ids = (int *) crAlloc(num_spus * sizeof(*spu_ids));
131 spu_names = (char **) crAlloc((num_spus + 1) * sizeof(*spu_names));
132 for (i = 0; i < num_spus; i++)
136 crDebug("SPU %d/%d: (%d) \"%s\"", i + 1, num_spus, spu_ids[i],
154 crSPULoadChain(num_spus, spu_ids, spu_names, spu_dir, &cr_server);
/vbox/src/VBox/Additions/common/crOpenGL/
H A Dload.c939 int num_spus; local
995 num_spus = crStrToInt( spuchain[0] );
996 spu_ids = (int *) crAlloc( num_spus * sizeof( *spu_ids ) );
997 spu_names = (char **) crAlloc( num_spus * sizeof( *spu_names ) );
998 for (i = 0 ; i < num_spus ; i++)
1002 crDebug( "SPU %d/%d: (%d) \"%s\"", i+1, num_spus, spu_ids[i], spu_names[i] );
1028 stub.spu = crSPULoadChain( num_spus, spu_ids, spu_names, stub.spu_dir, NULL );
1032 for (i = 0; i < num_spus; ++i)

Completed in 70 milliseconds