Skip to content

Commit

Permalink
Merge pull request #7 from rschoene/master
Browse files Browse the repository at this point in the history
Fixed GPU output
  • Loading branch information
rschoene authored Sep 5, 2017
2 parents 5a30eb6 + e1493f9 commit 9509daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source_files/gpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ void* initgpu(void *gpu) {
if( useDevice==-1 ) { //use all GPUs if the user gave no information about useDevice
useDevice=devCount;
}
if ( useDevice >= devCount ) {
if ( useDevice > devCount ) {
printf(" - You requested more CUDA devices than available. Maybe you set CUDA_VISIBLE_DEVICES?\n");
printf(" - FIRESTARTER will use %d of the requested %d CUDA device(s)\n",devCount,useDevice);
useDevice=devCount;
Expand Down

0 comments on commit 9509daf

Please sign in to comment.