Update hip_module.cpp
Этот коммит содержится в:
1 родитель
1ba8a35dba
Коммит
5325b6535e
1 file changed
+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));
|
||||
|
||||
Reference in new issue
Block a user