-
Notifications
You must be signed in to change notification settings - Fork 115
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
[UR][CUDA] Add tensor map APIs #1811
base: main
Are you sure you want to change the base?
Conversation
cc67afb
to
221e4db
Compare
8f63fb0
to
ae22a1d
Compare
@frasercrmck have responded to all of your comments I think. |
573ba28
to
ba8a391
Compare
scripts/core/registry.yml
Outdated
@@ -592,6 +592,12 @@ etors: | |||
- name: ENQUEUE_NATIVE_COMMAND_EXP | |||
desc: Enumerator for $xEnqueueNativeCommandExp | |||
value: '228' | |||
- name: TENSOR_MAP_ENCODE_IM_2_COL_EXP | |||
desc: Enumerator for $xTensorMapEncodeIm2ColExp | |||
value: '231' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is where everything's generated from, is this why we're seeing enumerators skip a few values? Should these be 229
and 230
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This registry.yml
is itself autogenerated. I don't know how to modify this number. Maybe @kbenzie has an idea?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The script will only assign a number automatically if the function is absent from registry.yml
. You can always add it manually.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aha interesting. Thanks @pbalcer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have updated @frasercrmck
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Another option is to delete the entry from the registry and run the generate
target again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting, thanks
ba8a391
to
309e02f
Compare
- Check that TensorDim < 3 using yaml returns: . - Rename some things and remove copypasta
be3465f
to
51e1350
Compare
Looks like this is causing some build issues in the L0 static build Amongst other undefined symbols:
|
Fixes missing symbol at linking for static build of L0 adapter.
Should be fixed. Will keep an eye on CI. |
ping @oneapi-src/unified-runtime-native-cpu-write @oneapi-src/unified-runtime-opencl-write @oneapi-src/unified-runtime-hip-write @oneapi-src/unified-runtime-level-zero-write This should be ready to review |
Intended to target the APIs here