Re-sync with upstream.

[ROCm/clr commit: a704bd8b44]
This commit is contained in:
Alex Voicu committed 2018-02-12 20:20:24 +00:00
commit eab8624938
38 files changed
+2903 -116

No files matched your search

+1 -2
View File
@@ -594,7 +594,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);
}