Update hip_module.cpp

このコミットが含まれているのは:
Alex Voicu
2018-05-14 17:15:36 +01:00
committed by GitHub
コミット 40a22d235e
+1
ファイルの表示
@@ -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));