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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Referens i nytt ärende
Block a user