================================================================================================
| 1974 | |
| 1975 | // ================================================================================================ |
| 1976 | address 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 | // ================================================================================================ |
| 1987 | void VirtualGPU::ReleaseSdmaEngines() { |