Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
Make the improvement in commit d3d1a39 effective
Browse files Browse the repository at this point in the history
  • Loading branch information
nunofachada committed Jan 18, 2015
1 parent 4d8820e commit 7af5b42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cf4ocl2/ccl_device_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void ccl_device_destroy(CCLDevice* dev) {

#ifdef CL_VERSION_1_2

cl_uint ver = ccl_device_get_opencl_c_version(dev, NULL);
cl_uint ver = ccl_device_get_opencl_version(dev, NULL);

/* Device destruction depends on device OpenCL version. */
if (ver >= 120) {
Expand Down

0 comments on commit 7af5b42

Please sign in to comment.