Merge pull request #1269 from gargrahul/fix_ptr_attr_unkonwn_to_invalid

hipPointerGetAttributes- Change hipErrorUnknown to hipErrorInvalidValue

[ROCm/hip commit: a4407f13db]
Dieser Commit ist enthalten in:
Maneesh Gupta verfasst und GitHub committed 2019-07-31 15:43:06 +00:00
2 Ursprung b0976644d2 0009dc1067
Commit ba53d3f04c
1 Datei geändert
+1 -1
+1 -1
Datei anzeigen
@@ -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);