SWDEV-280473 - Remove HSAIL support from the ROCm backend
In adition to removing the HSAIL logic from the ROCm backend, guard all of the HSAIL includes in the common layer behind the WITH_COMPILER_LIB define. This is to avoid including HSAIL headers when building with no support for it. In common logic replace the use of the aclType enum with the new Program::file_type_t enum. This is essentially a local copy of the HSAIL enum to avoid including any HSAIL headers. Change-Id: Ica0651d1b29dfccc255cc584eb82a5cb35e1b520
Dieser Commit ist enthalten in:
1 Ursprung
2b133ed3de
Commit
cbeb372e46
17 Dateien geändert
+126
-405
Keine Dateien entsprechen Ihrer Suche
@@ -22,7 +22,6 @@
|
||||
|
||||
#ifndef WITHOUT_HSA_BACKEND
|
||||
|
||||
#include "acl.h"
|
||||
#include <string>
|
||||
#include <sstream>
|
||||
#include <fstream>
|
||||
@@ -74,8 +73,6 @@ class Program : public device::Program {
|
||||
);
|
||||
virtual bool createBinary(amd::option::Options* options) = 0;
|
||||
|
||||
virtual const aclTargetInfo& info() { return info_; }
|
||||
|
||||
protected:
|
||||
//! Disable default copy constructor
|
||||
Program(const Program&) = delete;
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren