P4 to Git Change 1775366 by kjayapra@99_HIPWS_SLV_CHECKIN on 2019/04/26 14:48:23

SWDEV-144570 - hipFuncGetAttributes() API changes.

Affected files ...

... //depot/stg/opencl/drivers/opencl/api/hip/hip_internal.hpp#29 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_module.cpp#23 edit
... //depot/stg/opencl/drivers/opencl/api/hip/hip_platform.cpp#28 edit


[ROCm/clr commit: 33ebadc935]
This commit is contained in:
foreman
2019-04-26 15:15:48 -04:00
parent 72391f7375
commit 4a8b1861fd
3 changed files with 54 additions and 3 deletions
+5 -1
View File
@@ -149,7 +149,11 @@ hipError_t hipFuncGetAttributes(hipFuncAttributes* attr, const void* func)
{
HIP_INIT_API(attr, func);
HIP_RETURN(hipErrorInvalidDeviceFunction);
if (!PlatformState::instance().getFuncAttr(func, attr)) {
HIP_RETURN(hipErrorUnknown);
}
HIP_RETURN(hipSuccess);
}