SWDEV-425967, SWDEV-425968 - Revert "SWDEV-415029 - [ABI Break] Remove hcc symbols"
This reverts commit 403afae98f.
Reason for revert: This causes build failure in hipBLASLt & hipSPARSELt
Change-Id: Ifb1ee519971c6183eb53634d6d8901a9e94cc9cc
This commit is contained in:
@@ -96,7 +96,7 @@ TEST_CASE("Unit_hipPtrGetAttribute_Simple") {
|
||||
unsigned int datatype;
|
||||
HIP_CHECK(hipPointerGetAttribute(&datatype, HIP_POINTER_ATTRIBUTE_MEMORY_TYPE,
|
||||
reinterpret_cast<hipDeviceptr_t>(A_d)));
|
||||
#ifdef __HIP_PLATFORM_NVIDIA__
|
||||
#ifdef __HIP_PLATFORM_NVCC__
|
||||
REQUIRE(datatype == CU_MEMORYTYPE_DEVICE);
|
||||
#else
|
||||
REQUIRE(datatype == hipMemoryTypeDevice);
|
||||
@@ -104,7 +104,7 @@ TEST_CASE("Unit_hipPtrGetAttribute_Simple") {
|
||||
|
||||
HIP_CHECK(hipPointerGetAttribute(&datatype, HIP_POINTER_ATTRIBUTE_MEMORY_TYPE,
|
||||
reinterpret_cast<hipDeviceptr_t>(A_Pinned_h)));
|
||||
#ifdef __HIP_PLATFORM_NVIDIA__
|
||||
#ifdef __HIP_PLATFORM_NVCC__
|
||||
REQUIRE(datatype == CU_MEMORYTYPE_HOST);
|
||||
#else
|
||||
REQUIRE(datatype == hipMemoryTypeHost);
|
||||
|
||||
Reference in New Issue
Block a user