biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow OCL CL_SIZE to be set to 4 for Intel
[alexxy/gromacs.git]
/
src
/
gromacs
/
gpu_utils
/
ocl_compiler.cpp
diff --git
a/src/gromacs/gpu_utils/ocl_compiler.cpp
b/src/gromacs/gpu_utils/ocl_compiler.cpp
index 182ec20192e01d2a490a6ba0bc3a0a22bd0e5f72..62f8a4e75f7a872f08b06fe4156ec0188c8ed768 100644
(file)
--- a/
src/gromacs/gpu_utils/ocl_compiler.cpp
+++ b/
src/gromacs/gpu_utils/ocl_compiler.cpp
@@
-326,8
+326,11
@@
makeVendorFlavorChoice(ocl_vendor_id_t vendorId)
case OCL_VENDOR_NVIDIA:
choice = "-D_NVIDIA_SOURCE_";
break;
+ case OCL_VENDOR_INTEL:
+ choice = "-D_INTEL_SOURCE_";
+ break;
default:
- choice = "
-D_WARPLESS_SOURCE_
";
+ choice = "";
break;
}
return choice;