diff --git a/device/devhcprintf.cpp b/device/devhcprintf.cpp index b36f7758..38c323e0 100644 --- a/device/devhcprintf.cpp +++ b/device/devhcprintf.cpp @@ -26,6 +26,7 @@ #include #include #include +#include static void checkPrintf(FILE* stream, int* outCount, const char* fmt, ...) { va_list args; diff --git a/device/rocm/rocblit.hpp b/device/rocm/rocblit.hpp index 8360e6b1..061f6391 100644 --- a/device/rocm/rocblit.hpp +++ b/device/rocm/rocblit.hpp @@ -290,13 +290,13 @@ class KernelBlitManager : public DmaBlitManager { StreamOpsWait, Scheduler, GwsInit, + InitHeap, BlitLinearTotal, FillImage = BlitLinearTotal, BlitCopyImage, BlitCopyImage1DA, BlitCopyImageToBuffer, BlitCopyBufferToImage, - InitHeap, BlitTotal }; @@ -595,9 +595,9 @@ static const char* BlitName[KernelBlitManager::BlitTotal] = { "__amd_rocclr_fillBufferAligned", "__amd_rocclr_fillBufferAligned2D", "__amd_rocclr_copyBuffer", "__amd_rocclr_copyBufferAligned", "__amd_rocclr_copyBufferRect", "__amd_rocclr_copyBufferRectAligned", "__amd_rocclr_streamOpsWrite", "__amd_rocclr_streamOpsWait", - "__amd_rocclr_scheduler", "__amd_rocclr_gwsInit", "__amd_rocclr_fillImage", + "__amd_rocclr_scheduler", "__amd_rocclr_gwsInit", "__amd_rocclr_initHeap", "__amd_rocclr_fillImage", "__amd_rocclr_copyImage", "__amd_rocclr_copyImage1DA", "__amd_rocclr_copyImageToBuffer", - "__amd_rocclr_copyBufferToImage", "__amd_rocclr_initHeap" + "__amd_rocclr_copyBufferToImage" }; inline void KernelBlitManager::setArgument(amd::Kernel* kernel, size_t index,