Update pppm to work with opencl.

This commit is contained in:
W. Michael Brown
2011-07-11 19:36:55 -04:00
parent 3ff236d7b5
commit 0ac36b2409
2 changed files with 5 additions and 2 deletions

View File

@ -378,7 +378,7 @@ void PPPMT::compile_kernels(UCL_Device &dev) {
std::string flags="-cl-fast-relaxed-math -cl-mad-enable "+
std::string(OCL_PRECISION_COMPILE);
#ifdef USE_OPENCL
flags+=std::string(" -D grdtyp=")+ucl_template_name<grdtyp>()+" -D grdtyp4="+
flags+=std::string(" -Dgrdtyp=")+ucl_template_name<grdtyp>()+" -Dgrdtyp4="+
ucl_template_name<grdtyp>()+"4";
#endif