From 328224a2985cd241eebaef91f1312f41be2985df Mon Sep 17 00:00:00 2001 From: sjplimp Date: Thu, 16 Jun 2016 15:44:41 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15181 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- lib/gpu/geryon/nvd_device.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/gpu/geryon/nvd_device.h b/lib/gpu/geryon/nvd_device.h index 12a18ae873..3b7781753c 100644 --- a/lib/gpu/geryon/nvd_device.h +++ b/lib/gpu/geryon/nvd_device.h @@ -432,7 +432,11 @@ void UCL_Device::print_all(std::ostream &out) { out << " Compute mode: "; if (_properties[i].computeMode == CU_COMPUTEMODE_DEFAULT) out << "Default\n"; // multiple threads can use device +#if CUDA_VERSION >= 8000 + else if (_properties[i].computeMode == CU_COMPUTEMODE_EXCLUSIVE_PROCESS) +#else else if (_properties[i].computeMode == CU_COMPUTEMODE_EXCLUSIVE) +#endif out << "Exclusive\n"; // only thread can use device else if (_properties[i].computeMode == CU_COMPUTEMODE_PROHIBITED) out << "Prohibited\n"; // no thread can use device