diff --git a/projects/clr/rocclr/compiler/lib/backends/common/frontend.hpp b/projects/clr/rocclr/compiler/lib/backends/common/frontend.hpp index 0c9145f84d..13686329c1 100644 --- a/projects/clr/rocclr/compiler/lib/backends/common/frontend.hpp +++ b/projects/clr/rocclr/compiler/lib/backends/common/frontend.hpp @@ -31,6 +31,7 @@ namespace amdcl // This function generates a command string for clc to execute. virtual int compileCommand(const std::string& singleSrc) = 0; + virtual std::string getClassName() = 0; }; // class Frontend /*@}*/ @@ -68,6 +69,7 @@ namespace amdcl // This function generates a command string for clc to execute. virtual int compileCommand(const std::string& singleSrc); + virtual std::string getClassName() {return "OCLFrontend";} }; // class OCLFrontend /*@}*/ @@ -93,6 +95,7 @@ namespace amdcl //! This function generates a command string for ClangOCLFE to execute. virtual int compileCommand(const std::string& singleSrc); + virtual std::string getClassName() {return "ClangOCLFrontend";} }; // class Frontend /*@}*/ } // namespac amdcl diff --git a/projects/clr/rocclr/compiler/lib/backends/common/v0_8/if_acl.cpp b/projects/clr/rocclr/compiler/lib/backends/common/v0_8/if_acl.cpp index 8f901d3ea7..d46590af92 100644 --- a/projects/clr/rocclr/compiler/lib/backends/common/v0_8/if_acl.cpp +++ b/projects/clr/rocclr/compiler/lib/backends/common/v0_8/if_acl.cpp @@ -176,6 +176,7 @@ LOADER_FUNCS(Codegen, amdcl::CLCodeGen); LOADER_FUNCS(SPIR, amdcl::SPIR); #undef LOADER_FUNCS + // CLC Frontend phase aclModule* ACL_API_ENTRY OCLFEToLLVMIR(