Skip to content

Commit a325e03

Browse files
authored
[Gluon][Tests] Make frontend tests independent of the active target (#7706)
This changes all gluon frontend tests to use `run_parser`. To achieve this, I also expand `run_parser` to support kernel arguments and non-blackwell targets. This also allows us to test with the gfx1200 hip target which also has 32 threads per warp. Closes #7667
1 parent b08a27e commit a325e03

File tree

4 files changed

+485
-451
lines changed

4 files changed

+485
-451
lines changed

include/triton/Dialect/TritonGPU/IR/TritonGPUOps.td

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,7 @@ def TTG_AsyncCommitGroupOp : TTG_Op<"async_commit_group"> {
6464
let results = (outs TTG_AsyncToken:$asyncToken);
6565
let arguments = (ins Variadic<TTG_AsyncToken>:$inputTokens);
6666

67-
let assemblyFormat = [{
68-
$inputTokens attr-dict
69-
}];
67+
let assemblyFormat = [{($inputTokens ^)?attr-dict}];
7068

7169
let extraClassDeclaration = [{
7270
static bool isSupported(int computeCapability) {

0 commit comments

Comments
 (0)