From 39a6a81461f259ca26ba9368399e30899c875037 Mon Sep 17 00:00:00 2001 From: "Besar Wicaksono (xN/A) TX [TEXT]" Date: Wed, 29 Apr 2015 12:29:56 -0500 Subject: [PATCH] ECR #333755 - Part 1. update hsa_Ext_amd.h according to HSART 1.0F spec. Details: - Refactor names of the type and interface in hsa_ext_amd.h according to the format specified by 1.0F spec. - Update the core, ext, and tools implementation with the new name. - Update oclhsa layer with the new interface. Test: TC precheckin http://ocltc.amd.com:8111/viewLog.html?buildId=12461559&tab=buildResultsDiv&buildTypeId=PrecheckinTestsOpenCLSanity_PrecheckinSanitygfx700Linux64bitDebugHsaFoundation [git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1145877] --- samples/common/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/common/common.cpp b/samples/common/common.cpp index 84f2ee714c..c89036fbf5 100644 --- a/samples/common/common.cpp +++ b/samples/common/common.cpp @@ -34,7 +34,7 @@ hsa_status_t FindHostRegion(hsa_region_t region, void *data) { bool is_host_region = false; hsa_status_t hsa_error_code = hsa_region_get_info( - region, (hsa_region_info_t)HSA_EXT_AMD_REGION_INFO_HOST_ACCESS, + region, (hsa_region_info_t)HSA_AMD_REGION_INFO_HOST_ACCESSIBLE, &is_host_region); if (hsa_error_code != HSA_STATUS_SUCCESS) { return hsa_error_code;