MCPcopy Create free account
hub / github.com/AdaptiveCpp/AdaptiveCpp / dim3_to_range3

Function dim3_to_range3

src/runtime/pcuda/pcuda_runtime_api.cpp:91–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91auto dim3_to_range3(dim3 v) {
92 return rt::range<3>{v.x, v.y, v.z};
93}
94
95#define return_if_prior_error() \
96 pcudaError_t prior_err = get_most_recent_pcuda_error(); \

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected