Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@ include(GNUInstallDirs)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")

set(_triton_plugins_default ON)
if (WIN32)
set(_triton_plugins_default OFF)
endif()

# Options
option(TRITON_BUILD_PYTHON_MODULE "Build Python Triton bindings" OFF)
option(TRITON_BUILD_PROTON "Build the Triton Proton profiler" ON)
Expand All @@ -45,10 +40,6 @@ set(TRITON_CUPTI_INCLUDE_PATH "" CACHE PATH "Path to CUPTI headers")
set(TRITON_CUPTI_LIB_PATH "" CACHE PATH "Path to CUPTI libraries")
set(TRITON_CUPTI_LIB_BLACKWELL_PATH "" CACHE PATH "Path to Blackwell CUPTI libraries")

if (WIN32 AND TRITON_ENABLE_PLUGINS)
message(FATAL_ERROR "TRITON_ENABLE_PLUGINS=ON is not supported on Windows.")
endif()

if(NOT TRITON_CACHE_PATH)
message(FATAL_ERROR "TRITON_CACHE_PATH must be set or derivable from TRITON_HOME/HOME/USERPROFILE/HOMEPATH.")
endif()
Expand Down
5 changes: 0 additions & 5 deletions examples/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
if (NOT TRITON_ENABLE_PLUGINS)
message(STATUS "TRITON_ENABLE_PLUGINS=OFF: skipping Triton example plugin libraries")
return()
endif()

set(LLVM_TARGET_DEFINITIONS Passes.td)
mlir_tablegen(Passes.h.inc -gen-pass-decls -name Plugins)
add_public_tablegen_target(TritonPluginsIncGen)
Expand Down
2 changes: 1 addition & 1 deletion test/Plugins/test-dialect-plugin.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// RUN: -split-input-file --convert-plugin-gpu-to-llvm --convert-triton-gpu-to-llvm %s | \
// RUN: FileCheck %s

// REQUIRES: plugins, triton-ext-enabled
// REQUIRES: triton-ext-enabled
// XFAIL: *

#blocked0 = #ttg.blocked<{sizePerThread = [8], threadsPerWarp = [32], warpsPerCTA = [8], order = [0]}>
Expand Down
2 changes: 1 addition & 1 deletion test/Plugins/test-plugin.mlir
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

// RUN: triton-opt -split-input-file %s | FileCheck %s -allow-unused-prefixes --check-prefix=CHECK-BASE

// REQUIRES: plugins, triton-ext-enabled
// REQUIRES: triton-ext-enabled
// XFAIL: *

module attributes {"ttg.num-warps" = 4 : i32, "ttg.target" = "cuda:80"} {
Expand Down
4 changes: 0 additions & 4 deletions test/lit.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,6 @@
ToolSubst('%PYTHON', config.python_executable, unresolved='ignore'),
]

# Example plugins are not built if TRITON_ENABLE_PLUGINS is OFF.
if config.enable_plugins:
config.available_features.add("plugins")

# Static libraries are not built if TRITON_EXT_ENABLED is ON.
if config.triton_ext_enabled:
config.available_features.add("triton-ext-enabled")
Expand Down
1 change: 0 additions & 1 deletion test/lit.site.cfg.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ config.llvm_exe_ext = "@EXEEXT@"
config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
config.mlir_binary_dir = "@MLIR_BINARY_DIR@"
config.python_executable = "@Python3_EXECUTABLE@"
config.enable_plugins = "@TRITON_ENABLE_PLUGINS@"
config.enable_bindings_python = @MLIR_ENABLE_BINDINGS_PYTHON@
config.triton_ext_enabled = @TRITON_EXT_ENABLED@

Expand Down