MCPcopy Create free account
hub / github.com/ROCm/clr / allocKernelArguments

Method allocKernelArguments

rocclr/device/rocm/rocvirtual.cpp:1976–1984  ·  view source on GitHub ↗

================================================================================================

Source from the content-addressed store, hash-verified

1974
1975// ================================================================================================
1976address VirtualGPU::allocKernelArguments(size_t size, size_t alignment) {
1977 if (ROC_SKIP_KERNEL_ARG_COPY) {
1978 // Make sure VirtualGPU has an exclusive access to the resources
1979 amd::ScopedLock lock(execution());
1980 return reinterpret_cast<address>(allocKernArg(size, alignment));
1981 } else {
1982 return nullptr;
1983 }
1984}
1985
1986// ================================================================================================
1987void VirtualGPU::ReleaseSdmaEngines() {

Callers 2

allocMethod · 0.45
captureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected