-
Notifications
You must be signed in to change notification settings - Fork 794
[UR] Add a UR device info enum for checking native bfloat16 conversions #17372
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 4 commits
c7fda15
e6235b3
ab891ad
bd898ef
6fdbef4
bb6395c
db6d7d3
6d3a927
0c5ca0f
985f363
6a04a69
11762ee
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1758,7 +1758,7 @@ TEST_P(urDeviceGetInfoTest, SuccessAtomicFenceScopeCapabilities) { | |
| ASSERT_EQ(property_value & UR_MEMORY_SCOPE_CAPABILITY_FLAGS_MASK, 0); | ||
| } | ||
|
|
||
| TEST_P(urDeviceGetInfoTest, SuccessBFloat64) { | ||
| TEST_P(urDeviceGetInfoTest, SuccessBFloat16) { | ||
| size_t property_size = 0; | ||
| const ur_device_info_t property_name = UR_DEVICE_INFO_BFLOAT16; | ||
|
||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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.
To avoid rewriting all of the enum values, move this new entry to the end of the array, i.e. after line 451.
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.
Could you move this to the bottom and run the generate again please?
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.
Hi, @kbenzie
Fixed.
Thanks very much.