Fix Windows build
MSVC unlike gcc doesn't add colons for you. Change-Id: I06d81a9a9b346065d0452fe7117ab82144a06f74
Este commit está contenido en:
1 padre
5623c74c35
commit
a09ae103f5
1 file changed
+1
-1
@@ -96,7 +96,7 @@ hipError_t __hipExtractCodeObjectFromFatBinary(const void* data,
|
||||
desc = reinterpret_cast<const __ClangOffloadBundleDesc*>(
|
||||
reinterpret_cast<uintptr_t>(&desc->triple[0]) + desc->tripleSize)) {
|
||||
|
||||
std:size_t offset = 0;
|
||||
std::size_t offset = 0;
|
||||
if (!std::strncmp(desc->triple, HIP_AMDGCN_AMDHSA_TRIPLE,
|
||||
sizeof(HIP_AMDGCN_AMDHSA_TRIPLE) - 1)) {
|
||||
offset = sizeof(HIP_AMDGCN_AMDHSA_TRIPLE); //For code objects created by CLang
|
||||
|
||||
Reference in new issue
Block a user