Update hip_module.cpp

[ROCm/hip commit: 5325b6535e]
Tá an tiomantas seo le fáil i:
Alex Voicu údaraithe agus GitHub tiomanta 2018-05-14 17:15:36 +01:00
1 tuismitheoir 15e0bb5d15
tiomantas 554aaee804
1 comhad athraithe
+1
+1
Féach ar an gComhad
@@ -506,6 +506,7 @@ namespace
hipError_t hipFuncGetAttributes(hipFuncAttributes* attr, const void* func)
{
if (!attr) return hipErrorInvalidValue;
if (!func) return hipErrorInvalidDeviceFunction;
const auto it0 = functions().find(reinterpret_cast<uintptr_t>(func));