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: c64f646711]
This commit is contained in:
Christophe Paquot committed 2016-06-14 17:03:49 -04:00
1 parent 2e60df69e4
commit e0df393c14
1 file changed
+1 -3
@@ -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;
}