Skip to content
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

Explicitly define which info queries are optional. #1332

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

aarongreig
Copy link
Contributor

@aarongreig aarongreig commented Feb 12, 2024

This is now reflected in the spec and in the CTS tests.

Also implement a few trivial fixes for adapters failing the now enforced non-optional queries.

@aarongreig
Copy link
Contributor Author

this is going to need #1196 and #1128 since they clean up some info related stuff

@aarongreig
Copy link
Contributor Author

I've included 08f14c1 in this because there's a bit of bilateral interdependence going on, if we merged either those changes or the ones from the original commit from this PR separately we'd need to fix some stuff twice, like it would mean writing more code that then just gets immediately reverted. I can split them up again if necessary.

@aarongreig aarongreig force-pushed the aaron/optionalInfoQueries branch from 08f14c1 to 076d1e5 Compare February 12, 2024 15:14
@kbenzie kbenzie added conformance Conformance test suite issues. specification Changes or additions to the specification level-zero L0 adapter specific issues cuda CUDA adapter specific issues hip HIP adapter specific issues opencl OpenCL adapter specific issues labels Apr 10, 2024
aarongreig added a commit to aarongreig/unified-runtime that referenced this pull request May 7, 2024
This was improperly implemented and should have been reporting
UNSUPPORTED. This will be properly fixed in the test by
oneapi-src#1332
@aarongreig aarongreig force-pushed the aaron/optionalInfoQueries branch 3 times, most recently from 59552ff to ebf7c11 Compare September 23, 2024 12:27
@aarongreig aarongreig marked this pull request as ready for review September 23, 2024 13:37
@aarongreig aarongreig requested review from a team as code owners September 23, 2024 13:37
@github-actions github-actions bot added the native-cpu Native CPU adapter specific issues label Sep 23, 2024
@aarongreig aarongreig force-pushed the aaron/optionalInfoQueries branch from 361400b to 1c0a2ce Compare September 24, 2024 09:06
Copy link
Contributor

@nrspruit nrspruit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM for L0

@aarongreig aarongreig force-pushed the aaron/optionalInfoQueries branch 2 times, most recently from c3fc047 to 4cbc46f Compare November 18, 2024 15:50
@aarongreig
Copy link
Contributor Author

ping @oneapi-src/unified-runtime-native-cpu-write @oneapi-src/unified-runtime-cuda-write @oneapi-src/unified-runtime-hip-write

@aarongreig aarongreig force-pushed the aaron/optionalInfoQueries branch 6 times, most recently from 0991f57 to 7470d9e Compare November 26, 2024 10:43
source/adapters/hip/device.cpp Show resolved Hide resolved
source/adapters/hip/program.cpp Outdated Show resolved Hide resolved
Copy link
Contributor

@frasercrmck frasercrmck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CUDA/HIP LGTM

@aarongreig aarongreig force-pushed the aaron/optionalInfoQueries branch 2 times, most recently from 57ff568 to 0073b4b Compare December 10, 2024 10:49
@aarongreig
Copy link
Contributor Author

@oneapi-src/unified-runtime-native-cpu-write please take a look, the adapter changes are pretty trivial

This is now reflected in the spec and in the CTS tests.

Also includes a number of minor fixes for adapter implementations of
related info queries.
@aarongreig aarongreig force-pushed the aaron/optionalInfoQueries branch from 0073b4b to c0a372b Compare December 16, 2024 14:27
@aarongreig
Copy link
Contributor Author

LLVM PR: intel/llvm#16381

Copy link
Contributor

@GeorgeWeb GeorgeWeb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cuda and HIP adapter changes look good to me.

@martygrant
Copy link
Contributor

Pulled into intel/llvm by intel/llvm#16256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conformance Conformance test suite issues. cuda CUDA adapter specific issues hip HIP adapter specific issues level-zero L0 adapter specific issues native-cpu Native CPU adapter specific issues opencl OpenCL adapter specific issues ready to merge Added to PR's which are ready to merge specification Changes or additions to the specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants