SWDEV-273138 - Update canUseStreamWaitValue retrieving
Remove canUseStreamWaitValue from hipDeviceProp_t. Update canUseStreamWaitValue retrieving in hipDeviceGetAttribute(). Change-Id: I275bd42d8b03e141caaf9f1bc6b714e51ca72dfb
Este cometimento está contido em:
cometido por
Tao Sang
ascendente
4223d3ecb4
cometimento
ca0cc36ef4
@@ -315,7 +315,8 @@ hipError_t hipDeviceGetAttribute(int* pi, hipDeviceAttribute_t attr, int device)
|
||||
*pi = prop.pageableMemoryAccessUsesHostPageTables;
|
||||
break;
|
||||
case hipDeviceAttributeCanUseStreamWaitValue:
|
||||
*pi = prop.canUseStreamWaitValue;
|
||||
// hipStreamWaitValue64() and hipStreamWaitValue32() support
|
||||
*pi = g_devices[device]->devices()[0]->info().aqlBarrierValue_;
|
||||
break;
|
||||
default:
|
||||
HIP_RETURN(hipErrorInvalidValue);
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador