fix msvc warnings about unknown opencl pragmas

This commit is contained in:
Ray molenkamp 2017-03-13 10:07:36 -06:00
parent aa36c73c33
commit 0c72008592
1 changed files with 2 additions and 1 deletions

View File

@ -22,9 +22,10 @@ CCL_NAMESPACE_BEGIN
/*
* Queue utility functions for split kernel
*/
#ifdef __KERNEL_OPENCL__
#pragma OPENCL EXTENSION cl_khr_global_int32_base_atomics : enable
#pragma OPENCL EXTENSION cl_khr_local_int32_base_atomics : enable
#endif
/*
* Enqueue ray index into the queue