SWDEV-465215 - fixes for hipFuncGetAttribute tests

Fixes SWDEV-465215, SWDEV-465213, SWDEV-465212

Change-Id: I08b114bf647366abcf900d6b2a17f77ca608fc46
이 커밋은 다음에 포함됨:
Ajay
2024-06-24 14:13:29 -07:00
커밋한 사람 Ajay GunaShekar
부모 58d4bd27a3
커밋 6059eaa7c1
7개의 변경된 파일과 1개의 추가작업 그리고 26개의 파일을 삭제
+1 -1
파일 보기
@@ -181,7 +181,7 @@ TEST_CASE("Unit_hipFuncSetAttribute_Negative_Parameters") {
// The sum of this value and the function attribute sharedSizeBytes cannot exceed the device
// attribute cudaDevAttrMaxSharedMemoryPerBlockOptin
int max_shared;
HIP_CHECK(hipDeviceGetAttribute(&max_shared, hipDeviceAttributeMaxSharedMemoryPerBlock, 0));
HIP_CHECK(hipDeviceGetAttribute(&max_shared, hipDeviceAttributeSharedMemPerBlockOptin, 0));
hipFuncAttributes attributes;
HIP_CHECK(hipFuncGetAttributes(&attributes, reinterpret_cast<void*>(kernel)));