Skip to content

add support for capturing SPIR-V files for programs created from IL #423

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

Merged
merged 2 commits into from
Jun 2, 2025

Conversation

bashbaug
Copy link
Contributor

Description of Changes

  • Adds support for capturing SPIR-V files for programs created from IL for replay.
  • Adds the validation functionality to the run script. This allows validation without using the top-level capture_and_validate script.
  • Adds missing call to clFinish that could cause the wrong buffers to be dumped, especially for programs using out-of-order queues.

Testing Done

Tested with an OpenCL conformance test and a SYCL program that creates a program from IL. Was successfully able to replay and validate the captured program.

@bashbaug
Copy link
Contributor Author

bashbaug commented Jun 2, 2025

@Pennycook this should automatically capture the SPIR-V files for you so you don't need to extract them from the device binary.

@bashbaug bashbaug merged commit e9b8687 into intel:main Jun 2, 2025
8 checks passed
@bashbaug bashbaug deleted the record-spirv-files branch June 2, 2025 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant