diff options
author | Thomas Dinges <blender@dingto.org> | 2016-01-07 02:14:04 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2016-01-07 02:14:04 +0300 |
commit | 81a253a0d50d8a2e28e9e49104aaeff521fe98d6 (patch) | |
tree | 45ba540d2a01e2d0c44f8c01af2e211c77940608 /intern | |
parent | 83e73a2100688655f0eb2df5cbfac2ca1f051fff (diff) |
Cycles OpenCL: Change environment flags for testing.
CYCLES_OPENCL_TEST was removed, there was an insonsistency between
opencl_kernel_use_split() and opencl_get_usable_devices().
From now on, to test non whitelisted devices please use either
CYCLES_OPENCL_MEGA_KERNEL_TEST or CYCLES_OPENCL_SPLIT_KERNEL_TEST.
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/device/device_opencl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp index 64a311f2c13..991d0077b10 100644 --- a/intern/cycles/device/device_opencl.cpp +++ b/intern/cycles/device/device_opencl.cpp @@ -229,8 +229,8 @@ bool opencl_device_version_check(cl_device_id device, void opencl_get_usable_devices(vector<OpenCLPlatformDevice> *usable_devices) { const bool force_all_platforms = - (getenv("CYCLES_OPENCL_TEST") != NULL) || - (getenv("CYCLES_OPENCL_SPLIT_KERNEL_TEST")) != NULL; + (getenv("CYCLES_OPENCL_MEGA_KERNEL_TEST") != NULL) || + (getenv("CYCLES_OPENCL_SPLIT_KERNEL_TEST") != NULL); const cl_device_type device_type = opencl_device_type(); static bool first_time = true; #define FIRST_VLOG(severity) if(first_time) VLOG(severity) |