Fix malformed CUDA version macro check
authorSzilárd Páll <pszilard@kth.se>
Tue, 9 Sep 2014 21:35:26 +0000 (23:35 +0200)
committerSzilárd Páll <pszilard@kth.se>
Tue, 9 Sep 2014 21:50:56 +0000 (23:50 +0200)
commit89fae8d67c27af46c6336e1e6c1716a60b5bf0bf
treea89a84545c0c871a78e047167230af5346fb137a
parent0336ab2d9dad7fe9db608620ad7b1ee146f70bce
Fix malformed CUDA version macro check

The CUDA_VERSION macro check is incorrect in two places. The first is
harmless as it is related to legacy CUDA 3.2 version's reporting. The
second occurrence affects the check that enables stream priorities and
due to the incorrect check, with CUDA 5.5 priorities have not been used.

Fixes #1594

Change-Id: Icf781d41549c39b6b913c11bb11d4dc4e9f3be9c
src/mdlib/nbnxn_cuda/nbnxn_cuda_data_mgmt.cu