Merge pull request #1269 from gargrahul/fix_ptr_attr_unkonwn_to_invalid

hipPointerGetAttributes- Change hipErrorUnknown to hipErrorInvalidValue

[ROCm/clr commit: e0397d3d1f]
此提交包含在:
Maneesh Gupta
2019-07-31 15:43:06 +00:00
提交者 GitHub
當前提交 b297398add
+1 -1
查看文件
@@ -198,7 +198,7 @@ hipError_t hipPointerGetAttributes(hipPointerAttribute_t* attributes, const void
attributes->isManaged = 0;
attributes->allocationFlags = 0;
e = hipErrorUnknown; // TODO - should be hipErrorInvalidValue ?
e = hipErrorInvalidValue;
}
}
return ihipLogStatus(e);