From cd9ee070e2fcaa49fe35944ea0fd60ed5d197ba2 Mon Sep 17 00:00:00 2001 From: Joshua Bakita Date: Mon, 19 Feb 2024 20:39:39 -0500 Subject: Split SAFE() macro into API-specific typed variants Avoids incorrectly interpreting CUDA Driver Library error codes as though they were CUDA Runtime Library error codes (the numbering is similar, but not identical). Also cleans up how we initialize and terminate a context for capability checking in `mon_cross_ctx_copies`. --- constant_cycles_kernel.cu | 1 - 1 file changed, 1 deletion(-) (limited to 'constant_cycles_kernel.cu') diff --git a/constant_cycles_kernel.cu b/constant_cycles_kernel.cu index eda963d..db92b08 100644 --- a/constant_cycles_kernel.cu +++ b/constant_cycles_kernel.cu @@ -13,7 +13,6 @@ __global__ void loop_on_gpu(unsigned long iters, int *__unused) { } int main(int argc, char **argv) { - cudaError_t err; int res, *__unused; struct timespec start, end; -- cgit v1.2.2