Skip to content

Commit

Permalink
THRUST_CHECK macro for CPU_ONLY
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischoy committed May 26, 2021
1 parent 583fef8 commit f8039ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f8039ec

Please sign in to comment.