Skip to content

Commit

Permalink
trying to use mgpus
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiago Carneiro committed Apr 3, 2023
1 parent 8a4f5e3 commit 52d0f9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions other_codes/chplGPU/modules/queens_GPU_single_locale.chpl
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ module queens_GPU_single_locale{

writeln("\nSize: ", size, " Survivors: ", initial_num_prefixes);

//var num_gpus = GPU_device_count();
var num_gpus = 1:c_int;
var num_gpus = GPU_device_count();
//var num_gpus = 1:c_int;
writeln("Number of GPUs to use: ", num_gpus);


Expand Down

0 comments on commit 52d0f9f

Please sign in to comment.