Fixed host allocated globals address lookup for host usage

Fixed texture driver APIs failure


[ROCm/clr commit: b8c23f979b]
이 커밋은 다음에 포함됨:
Rahul Garg
2018-01-30 18:06:31 +05:30
부모 7c85d789d2
커밋 f15543d5cf
4개의 변경된 파일과 8개의 추가작업 그리고 11개의 파일을 삭제
+1 -2
파일 보기
@@ -568,7 +568,6 @@ hipError_t hipModuleGetTexRef(
const auto it = globals().find(name);
if (it == globals().end()) return ihipLogStatus(hipErrorInvalidValue);
*texRef = static_cast<textureReference*>(it->second.get());
*texRef = reinterpret_cast<textureReference*>(it->second);
return ihipLogStatus(hipSuccess);
}