Skip to content

Commit d359567

Browse files
MixedMatchedgithub-actions[bot]
authored andcommitted
Automerge: [mlir] Remove filtering of deprecated rocm-agent-enumerator value gfx000 (#166634)
Getting a gfx000 result from the `rocm-agent-enumerator` command was deprecated beginning with the release of ROCm 7, but the MLIR build system still filters it from results when looking for ROCm agents. This PR removes that filtering. There are a few other uses of "gfx000" in MLIR source, but those are used as default options for running some passes, and, to my understanding, have a semantically different meaning to the dummy result returned from `rocm-agent-enumerator` and don't need to be changed.
2 parents 581d562 + 8c74cc5 commit d359567

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/lib/ExecutionEngine/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,6 @@ if(LLVM_ENABLE_PIC)
354354
endif()
355355
string(STRIP AGENTS_STRING ${AGENTS_STRING})
356356
string(REPLACE "\n" ";" AGENTS_LIST ${AGENTS_STRING})
357-
list(FILTER AGENTS_LIST EXCLUDE REGEX "gfx000")
358357
if (AGENTS_LIST STREQUAL "")
359358
message(SEND_ERROR "No non-CPU ROCm agents found on the system, and ROCM_TEST_CHIPSET is not defined")
360359
else()

0 commit comments

Comments
 (0)