From e0df393c144a6c6dcb24f082ceb5db6542429b7e Mon Sep 17 00:00:00 2001 From: Christophe Paquot Date: Thu, 9 Jun 2016 17:14:10 -0700 Subject: [PATCH] Updated blit kernel code to use device accessible memory for the kernel args. Most image-related HSA conformance tests pass now Many more ocltst/oclperf image ones pass too. Change-Id: I3f28d4ee7369f0ebc7af5128d3ffe1390957db98 [ROCm/ROCR-Runtime commit: c64f6467115f8a21a59ce7c20877e3a74c766562] --- .../runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp index 14d789ec1a..2c20c534d2 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/core/runtime/amd_gpu_agent.cpp @@ -738,9 +738,7 @@ hsa_status_t GpuAgent::GetInfo(hsa_agent_info_t attribute, void* value) const { *((uint8_t*)value) = 1 << HSA_EXTENSION_FINALIZER; } - if (profile_ == HSA_PROFILE_FULL && - extensions.table.hsa_ext_image_create_fn != NULL) { - // TODO: only APU supports images currently. + if (extensions.table.hsa_ext_image_create_fn != NULL) { *((uint8_t*)value) |= 1 << HSA_EXTENSION_IMAGES; }