Skip to content

Commit

Permalink
Merge pull request #9 from ReconfigureIO/fix/emulation-mode
Browse files Browse the repository at this point in the history
Avoid setting XCL_EMULATION_MODE to 'true'
  • Loading branch information
Max Siegieda authored Dec 12, 2018
2 parents e73ee3c + 6fb1378 commit f2fc791
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions xcl/xcl.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,6 @@ xcl_world xcl_world_single() {
* XCL_EMULATION_MODE is set to */
world.mode = xcl_create_and_set(xcl_mode);
}

err = setenv("XCL_EMULATION_MODE", "true", 1);
if(err != 0) {
printf("Error: cannot set XCL_EMULATION_MODE\n");
exit(EXIT_FAILURE);
}
}

err = clGetPlatformIDs(0, NULL, &num_platforms);
Expand Down

0 comments on commit f2fc791

Please sign in to comment.