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 7, 2020
1 parent ed6f206 commit 2905d52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DataFormats/CaloRecHit/test/test_calo_rechit.cu
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <cuda_runtime.h>

#include "DataFormats/CaloRecHit/interface/CaloRecHit.h"
#include "HeterogeneousCore/CUDAUtilities/interface/exitSansCUDADevices.h"
#include "HeterogeneousCore/CUDAUtilities/interface/requireCUDADevices.h"

__global__ void kernel_test_calo_rechit(CaloRecHit* other) {
CaloRecHit rh{DetId(0), 10, 1, 0, 0};
Expand Down Expand Up @@ -43,7 +43,7 @@ void test_calo_rechit() {
}

int main(int argc, char** argv) {
exitSansCUDADevices();
requireCUDADevices();

test_calo_rechit();

Expand Down

0 comments on commit 2905d52

Please sign in to comment.