Fix missing logstatus in hipFuncGetAttributes

[ROCm/hip commit: 474bf0effc]
이 커밋은 다음에 포함됨:
Rahul Garg가 2019-08-02 11:51:34 +05:30를 커밋했습니다
1 부모 c666fdaa08
커밋 8b597565c4
1 파일이 변경됨
+2 -2
+2 -2
파일 보기
@@ -788,8 +788,8 @@ hipError_t hipFuncGetAttributes(hipFuncAttributes* attr, const void* func)
HIP_INIT_API(hipFuncGetAttributes, attr, func);
using namespace hip_impl;
if (!attr) return hipErrorInvalidValue;
if (!func) return hipErrorInvalidDeviceFunction;
if (!attr) return ihipLogStatus(hipErrorInvalidValue);
if (!func) return ihipLogStatus(hipErrorInvalidDeviceFunction);
auto agent = this_agent();
auto kd = get_program_state().kernel_descriptor(reinterpret_cast<uintptr_t>(func), agent);