MCPcopy Create free account
hub / github.com/KnowingNothing/MatmulTutorial / ceil_div

Function ceil_div

include/common.h:69–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67#define REQUIRES(...) typename std::enable_if<(__VA_ARGS__)>::type* = nullptr
68
69HOST_DEVICE constexpr int ceil_div(int a, int b) { return (a + (b - 1)) / b; }
70
71template <class DType>
72HOST_DEVICE constexpr DType _abs(DType a) {

Callers 2

reference_gpu_gemmFunction · 0.85
TileSchedulerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected