SWDEV-279657 - Fix hipMallocManaged-N256M failure

Add concurrentManagedAccess detection in hipMallocManaged test.
Skip test when device doesn't support concurrentManagedAccess.

Change-Id: Ie54046feef3baba857a7068972ec1fc1a60c2dfd


[ROCm/hip commit: 60e2b1299c]
Tá an tiomantas seo le fáil i:
Tao Sang údaraithe agus Tao Sang tiomanta 2021-04-20 09:07:31 -04:00
1 tuismitheoir 63ae7621ae
tiomantas abcbcee510
2 comhad athraithe
+12

Níor tháinig aon chomhaid le do chuardach

@@ -1561,6 +1561,9 @@ inline static hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t att
case hipDeviceAttributeCooperativeMultiDeviceLaunch:
cdattr = cudaDevAttrCooperativeMultiDeviceLaunch;
break;
case hipDeviceAttributeConcurrentManagedAccess:
cdattr = cudaDevAttrConcurrentManagedAccess;
break;
default:
return hipCUDAErrorTohipError(cudaErrorInvalidValue);
}