Commit 20d87761 authored by Peter Eastman's avatar Peter Eastman
Browse files

Minor bug fix

parent dc91a24e
...@@ -1566,7 +1566,7 @@ void* gpuInit(int numAtoms, unsigned int device, bool useBlockingSync) ...@@ -1566,7 +1566,7 @@ void* gpuInit(int numAtoms, unsigned int device, bool useBlockingSync)
// Determine kernel call configuration // Determine kernel call configuration
cudaDeviceProp deviceProp; cudaDeviceProp deviceProp;
cudaGetDeviceProperties(&deviceProp, 0); cudaGetDeviceProperties(&deviceProp, currentDevice);
// Determine SM version // Determine SM version
if (deviceProp.major == 1) if (deviceProp.major == 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment