From f8039ecc21a8dc6b2aa2f4a05db8e7360df115a6 Mon Sep 17 00:00:00 2001 From: chrischoy Date: Wed, 26 May 2021 13:26:15 -0700 Subject: [PATCH] THRUST_CHECK macro for CPU_ONLY --- src/utils.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/utils.hpp b/src/utils.hpp index dd704e65..a9fbc925 100644 --- a/src/utils.hpp +++ b/src/utils.hpp @@ -166,6 +166,7 @@ class Formatter { #else #define MINK_CUDA_HOST_DEVICE #define MINK_CUDA_DEVICE +#define THRUST_CHECK(condition) condition; #endif #define COLOR "\033[31;1m"