jrprice / Oclgrind

An OpenCL device simulator and debugger
Other
346 stars 61 forks source link

add -cl-ext support #135

Closed petrkalos closed 7 years ago

petrkalos commented 7 years ago

for LLVM_VERSION >= 40 use -cl-ext to control the supported OpenCL extensions explicitly and be able to do something like the following in the kernel code...

#ifdef cl_khr_fp16
...
#endif
jrprice commented 7 years ago

Looks good - thanks!