Intel and IBM compilers want parentheses around the unrolling factor, while OpenCL and NVIDIA do not. It's pretty easy to handle this along the lines of https://github.com/jeffhammond/nwchem-tce-triples-kernels/blob/master/src/pragma_vendor.h. If you want a pull request, I'll try to work on it. ``` neighbor.cpp(361): warning #125: expected a "(" #pragma unroll 8 ``` ``` neighbor.cpp(278): warning #125: expected a "(" #pragma unroll 4 ``` # References - [Intel](https://software.intel.com/en-us/node/524556) - [IBM]( https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.cbclx01/opt_unroll.htm) - [OpenCL](https://www.khronos.org/registry/OpenCL/extensions/nv/cl_nv_pragma_unroll.txt) - [NVIDIA](https://devtalk.nvidia.com/default/topic/387988/-pragma-unroll-/)
Intel and IBM compilers want parentheses around the unrolling factor, while OpenCL and NVIDIA do not. It's pretty easy to handle this along the lines of https://github.com/jeffhammond/nwchem-tce-triples-kernels/blob/master/src/pragma_vendor.h. If you want a pull request, I'll try to work on it.
References