Update hip_module.cpp

[ROCm/clr commit: 40a22d235e]
这个提交包含在:
Alex Voicu 编写, GitHub 于 2018-05-14 17:15:36 +01:00 提交
1 父节点 2973f68465
当前提交 5a9d5a931b
1 个文件已更改
+1
+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));