SWDEV-351966 - Dispatch table for hip runtime
Change-Id: Ie4a44fa8cf1ff9c152146070bbbf6b0636d4e325
[ROCm/clr commit: 5e21f0c6bd]
This commit is contained in:
committed by
Anusha Godavarthy Surya
orang tua
cea00f53fb
melakukan
3bdedf0cc7
@@ -30,7 +30,7 @@ THE SOFTWARE.
|
||||
#include "hip_internal.hpp"
|
||||
#include "platform/program.hpp"
|
||||
#include <elf/elf.hpp>
|
||||
|
||||
namespace hip {
|
||||
hipError_t ihipFree(void* ptr);
|
||||
// forward declaration of methods required for managed variables
|
||||
hipError_t ihipMallocManaged(void** ptr, size_t size, unsigned int align = 0);
|
||||
@@ -59,8 +59,6 @@ struct __ClangOffloadBundleHeader {
|
||||
};
|
||||
} // namespace
|
||||
|
||||
namespace hip {
|
||||
|
||||
bool CodeObject::IsClangOffloadMagicBundle(const void* data) {
|
||||
std::string magic(reinterpret_cast<const char*>(data), kOffloadBundleMagicStrSize - 1);
|
||||
return magic.compare(kOffloadBundleMagicStr) ? false : true;
|
||||
@@ -532,7 +530,6 @@ hipError_t CodeObject::extractCodeObjectFromFatBinary(
|
||||
LogPrintfError(" %s - [Unsupported]", bundleEntryId.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
return hipErrorNoBinaryForGpu;
|
||||
}
|
||||
}
|
||||
@@ -906,4 +903,4 @@ hipError_t StatCO::initStatManagedVarDevicePtr(int deviceId) {
|
||||
}
|
||||
return err;
|
||||
}
|
||||
}; // namespace hip
|
||||
} // namespace hip
|
||||
|
||||
Reference in New Issue
Block a user