Skip to content

Commit

Permalink
Rename exitSansCUDADevices to requireCUDADevices (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
fwyzard committed Oct 8, 2020
1 parent 8a92645 commit 8d6cd76
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RecoLocalTracker/SiPixelClusterizer/test/gpuClustering_t.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

#include "HeterogeneousCore/CUDAUtilities/interface/device_unique_ptr.h"
#include "HeterogeneousCore/CUDAUtilities/interface/cudaCheck.h"
#include "HeterogeneousCore/CUDAUtilities/interface/exitSansCUDADevices.h"
#include "HeterogeneousCore/CUDAUtilities/interface/requireCUDADevices.h"
#include "HeterogeneousCore/CUDAUtilities/interface/launch.h"
#include "HeterogeneousCore/CUDAUtilities/interface/cudaDeviceCount.h"
#endif
Expand All @@ -23,7 +23,7 @@

int main(void) {
#ifdef __CUDACC__
exitSansCUDADevices();
requireCUDADevices();

if (cudautils::cudaDeviceCount() == 0) {
std::cerr << "No CUDA devices on this system"
Expand Down

0 comments on commit 8d6cd76

Please sign in to comment.