MCPcopy Create free account
hub / github.com/XpuOS/xsched / offset_ptr

Function offset_ptr

platforms/hip/hal/src/kernel_param.cpp:360–363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358
359template<typename T>
360T* offset_ptr(void* base, size_t offset)
361{
362 return reinterpret_cast<T*>(reinterpret_cast<char*>(base) + offset);
363}
364
365static void HipFunctionGetParamSize(hipFunction_t func, size_t index, size_t* offset, size_t* size)
366{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected