Update hip_module.cpp

Tento commit je obsažen v:
Alex Voicu
2018-05-14 17:15:36 +01:00
odevzdal GitHub
rodič eded014abc
revize 40a22d235e
+1
Zobrazit soubor
@@ -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));