mirror of
https://github.com/ROCm/ROCm.git
synced 2026-02-21 03:00:39 -05:00
clean up previous platform functions
This commit is contained in:
@@ -32,10 +32,6 @@
|
||||
#include "triton/rocm/hsa/hsa.h"
|
||||
#include "triton/rocm/hsa/hsa_ext_amd.h"
|
||||
|
||||
inline bool _isROCM = false;
|
||||
inline void setROCM() { _isROCM = true; }
|
||||
inline bool isROCM() { return _isROCM; }
|
||||
|
||||
// This structure holds agent information acquired through hsa info related
|
||||
// calls, and is later used for reference when displaying the information.
|
||||
struct agent_info_t {
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include "triton/Analysis/Membar.h"
|
||||
#include "triton/Dialect/Triton/IR/Dialect.h"
|
||||
#include "triton/Dialect/TritonGPU/IR/Dialect.h"
|
||||
#include "triton/Tools/Sys/GetPlatform.hpp"
|
||||
|
||||
#include "ConvertLayoutOpToLLVM.h"
|
||||
#include "DotOpToLLVM.h"
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include "triton/Conversion/TritonGPUToLLVM/TritonGPUToLLVMPass.h"
|
||||
#include "triton/Tools/Sys/GetEnv.hpp"
|
||||
#include "llvm/IR/CallingConv.h"
|
||||
#include "triton/Tools/Sys/GetPlatform.hpp"
|
||||
#include "llvm/ADT/APInt.h"
|
||||
#include "llvm/ADT/STLExtras.h"
|
||||
#include "llvm/ADT/SmallVector.h"
|
||||
|
||||
@@ -1654,9 +1654,6 @@ void init_triton_translation(py::module &m) {
|
||||
return shared.getInt();
|
||||
});
|
||||
|
||||
m.def(
|
||||
"set_rocm", []() { setROCM(); }, ret::take_ownership);
|
||||
|
||||
m.def(
|
||||
"get_arch_info",
|
||||
[]() {
|
||||
|
||||
Reference in New Issue
Block a user