Hello,
I was wondering how I can tell OpenMM to specifically use OpenCL rather than CIDA?
I know if I want to use CUDA I should use the following command:
getPlatformByName("Cuda")
however I am not sure if I should use the same command and if so what I should use instead of Cuda, and whether I should install OpenCL if I want to use Windows XP 64-bit?
Thanks
Using OpenCL
- Peter Eastman
- Posts: 2593
- Joined: Thu Aug 09, 2007 1:25 pm
RE: Using OpenCL
Just use getPlatformByName("OpenCL"). The Platform class also has methods for looping over all installed platforms: getNumPlatforms() and getPlatform(). So when in doubt, you can call those to see exactly what the options are.
Peter
Peter