1#include <string>
2#include "triton/driver/dispatch.h"
3
4namespace llvm{
5class Module;
6}
7
8namespace triton{
9namespace driver{
10
11void init_llvm();
12std::string path_to_ptxas(int& version);
13std::string llir_to_ptx(llvm::Module* module, int cc, int version);
14std::string ptx_to_cubin(const std::string& ptx, const std::string& ptxas_path, int cc);
15CUmodule ptx_to_cumodule(const std::string& ptx, int cc);
16std::string llir_to_amdgpu(llvm::Module* module, const std::string& proc);
17hipModule_t amdgpu_to_hipmodule(const std::string& path);
18
19}
20}
21