Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions custom_ops/gpu_ops/helper.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ namespace cub = hipcub;
using json = nlohmann::json;
#endif

#define CEILDIV(a, b) (((a + b - 1) / b))

#define CUDA_CHECK(call) \
do { \
const cudaError_t error_code = call; \
Expand Down
Loading
Loading