-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[mlir][spirv] Enable serializer to write SPIR-V modules into separate files #152678
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
d82720f
cbfbd1b
c2bda5a
625308d
dc922ea
6c84de6
2462ceb
ad50d49
45453b1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| // Check that `--spirv-save-validation-files-with-prefix` generates | ||
| // a correct number of files. | ||
|
|
||
| // REQUIRES: shell | ||
| // RUN: rm -rf %t | ||
| // RUN: mkdir %t && mlir-translate --serialize-spirv --no-implicit-module \ | ||
| // RUN: --split-input-file --spirv-save-validation-files-with-prefix=%t/foo %s \ | ||
| // RUN: && ls %t | wc -l | FileCheck %s | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes,
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok all good then |
||
| // RUN: rm -rf %t | ||
|
|
||
| // CHECK: 4 | ||
|
|
||
| spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader, Linkage], []> { | ||
| } | ||
|
|
||
| // ----- | ||
|
|
||
| spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader, Linkage], []> { | ||
| } | ||
|
|
||
| // ----- | ||
|
|
||
| spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader, Linkage], []> { | ||
| } | ||
|
|
||
| // ----- | ||
|
|
||
| spirv.module Logical GLSL450 requires #spirv.vce<v1.0, [Shader, Linkage], []> { | ||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.