Skip to content

Commit

Permalink
Fix CUDA_CHECK_NO_THROW compatibility define (#414)
Browse files Browse the repository at this point in the history
cuML builds broke after 2ecdd34 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: #414
  • Loading branch information
zbjornson authored Dec 10, 2021
1 parent 2ecdd34 commit 36e2efc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/include/raft/cudart_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

/**
Expand Down

0 comments on commit 36e2efc

Please sign in to comment.