SWDEV-502579 - Remove duplicated symbols (#21)
Remove duplicated compiler symbols from hip-rt. hip-rt should use symbols such as EF_AMDGPU_MACH_AMDGCN_XXX and
ELFABIVERSION_AMDGPU_HSA_VX defined in compiler header.
[ROCm/clr commit: b15c1657b8]
Этот коммит содержится в:
@@ -19,7 +19,6 @@
|
||||
THE SOFTWARE. */
|
||||
|
||||
#include <hip/hip_runtime.h>
|
||||
#include <elf/elf.hpp>
|
||||
#include <fstream>
|
||||
|
||||
#include "hip_internal.hpp"
|
||||
@@ -41,8 +40,6 @@ const std::string& FunctionName(const hipFunction_t f) {
|
||||
return hip::DeviceFunc::asFunction(f)->kernel()->name();
|
||||
}
|
||||
|
||||
static uint64_t ElfSize(const void* emi) { return amd::Elf::getElfSize(emi); }
|
||||
|
||||
hipError_t hipModuleUnload(hipModule_t hmod) {
|
||||
HIP_INIT_API(hipModuleUnload, hmod);
|
||||
if (hmod == nullptr) {
|
||||
|
||||
Ссылка в новой задаче
Block a user