[DRIVER] Now giving the option to use system ptxas through environment variable (#123)
This commit is contained in:
committed by
Philippe Tillet
parent
80c86ecf4a
commit
b7b05a560e
@@ -60,7 +60,7 @@ public:
|
||||
// CUDA
|
||||
class cu_module: public module {
|
||||
std::string compile_llvm_module(llvm::Module* module, driver::device* device);
|
||||
void init_from_ptx(const std::string& ptx);
|
||||
void init_from_ptx(const std::string& ptx, cu_device *device);
|
||||
|
||||
public:
|
||||
cu_module(driver::device* device, std::unique_ptr<llvm::Module> module);
|
||||
|
Reference in New Issue
Block a user