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 Dec 26, 2020
1 parent 8c70a5c commit 79e9a74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RecoPixelVertexing/PixelVertexFinding/test/VertexFinder_t.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <vector>

#include "HeterogeneousCore/CUDAUtilities/interface/cudaCheck.h"
#include "HeterogeneousCore/CUDAUtilities/interface/exitSansCUDADevices.h"
#include "HeterogeneousCore/CUDAUtilities/interface/requireCUDADevices.h"
#include "HeterogeneousCore/CUDAUtilities/interface/launch.h"
#ifdef USE_DBSCAN
#include "RecoPixelVertexing/PixelVertexFinding/src/gpuClusterTracksDBSCAN.h"
Expand Down Expand Up @@ -92,7 +92,7 @@ __global__ void print(ZVertices const* pdata, WorkSpace const* pws) {

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

auto onGPU_d = cudautils::make_device_unique<ZVertices[]>(1, nullptr);
auto ws_d = cudautils::make_device_unique<WorkSpace[]>(1, nullptr);
Expand Down

0 comments on commit 79e9a74

Please sign in to comment.