[Triton-MLIR] add GitHub CI runners (#655)
This PR is to add GitHub Actions runners to the CI for better coverage.
This commit is contained in:
@@ -123,7 +123,7 @@ struct PTXBuilder {
|
||||
|
||||
Operand *newAddrOperand(mlir::Value addr, StringRef constraint, int off = 0);
|
||||
|
||||
llvm::SmallVector<Operand *> getAllArgs() const;
|
||||
llvm::SmallVector<Operand *, 4> getAllArgs() const;
|
||||
|
||||
llvm::SmallVector<Value, 4> getAllMLIRArgs() const;
|
||||
|
||||
|
@@ -48,8 +48,15 @@ protected:
|
||||
initializer();
|
||||
if (cache == nullptr) {
|
||||
cache = dlsym(lib_h, name);
|
||||
if (cache == 0)
|
||||
if (cache == 0) {
|
||||
#ifdef __EXCEPTIONS
|
||||
throw std::runtime_error("dlsym unable to load function");
|
||||
#else
|
||||
std::cerr << "Triton: dlsym unable to load function `" << name << "`"
|
||||
<< std::endl;
|
||||
std::abort();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
FunPtrT fptr;
|
||||
*reinterpret_cast<void **>(&fptr) = cache;
|
||||
|
Reference in New Issue
Block a user