From 36e2efc50b33f1dd2ca69f8584e917d2c8227b9c Mon Sep 17 00:00:00 2001 From: Zach Bjornson Date: Fri, 10 Dec 2021 03:50:30 -0700 Subject: [PATCH] Fix CUDA_CHECK_NO_THROW compatibility define (#414) cuML builds broke after 2ecdd34a6f because `RAFT_CHECK_CUDA_NO_THROW` is not defined. Authors: - Zach Bjornson (https://github.com/zbjornson) Approvers: - Corey J. Nolet (https://github.com/cjnolet) URL: https://github.com/rapidsai/raft/pull/414 --- cpp/include/raft/cudart_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/include/raft/cudart_utils.h b/cpp/include/raft/cudart_utils.h index 1464cd070e..3539f1e1c0 100644 --- a/cpp/include/raft/cudart_utils.h +++ b/cpp/include/raft/cudart_utils.h @@ -121,7 +121,7 @@ struct cuda_error : public raft::exception { // FIXME: Remove after cuml rename #ifndef CUDA_CHECK_NO_THROW -#define CUDA_CHECK_NO_THROW(call) RAFT_CHECK_CUDA_NO_THROW(call) +#define CUDA_CHECK_NO_THROW(call) RAFT_CUDA_TRY_NO_THROW(call) #endif /**