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]
Dieser Commit ist enthalten in:
Sang, Tao verfasst und GitHub committed 2025-07-22 10:41:01 +05:30
1 Ursprung a3e576a317
Commit 2296162578
7 Dateien geändert
+23 -188

Keine Dateien entsprechen Ihrer Suche

+8 -11
Datei anzeigen
@@ -19,19 +19,16 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#include "llvm/BinaryFormat/ELF.h"
#if defined(_WIN32)
#if defined(__has_attribute)
// MS compiler doesn't support __has_attribute
#undef __has_attribute
#endif
#endif
#include "hip_code_object.hpp"
#include "amd_hsa_elf.hpp"
#include <cstring>
#include <hip/driver_types.h>
#include "hip/hip_runtime_api.h"
#include "hip/hip_runtime.h"
#include "hip_internal.hpp"
#include "platform/program.hpp"
#include <elf/elf.hpp>
#include "comgrctx.hpp"
#include "hip_comgr_helper.hpp"
using namespace llvm::ELF;
namespace hip {
hipError_t ihipFree(void* ptr);