Make OpenCL DeviceVendor into enum class and move to GPU traits
[alexxy/gromacs.git] / src / gromacs / nbnxm / opencl / nbnxm_ocl_jit_support.cpp
index 7374d433d37b7cc01941fc027726d5592c539c56..285d91ef8fd0817d3baf856fc190f25c5a342a3e 100644 (file)
@@ -203,7 +203,7 @@ void nbnxn_gpu_compile_kernels(NbnxmGpu* nb)
             program = gmx::ocl::compileProgram(
                     stderr, "gromacs/nbnxm/opencl", "nbnxm_ocl_kernels.cl", extraDefines,
                     nb->dev_rundata->context, nb->dev_info->ocl_gpu_id.ocl_device_id,
-                    nb->dev_info->vendor_e);
+                    nb->dev_info->deviceVendor);
         }
         catch (gmx::GromacsException& e)
         {