-
Notifications
You must be signed in to change notification settings - Fork 32
Fixes names #378
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
Fixes names #378
Conversation
| DPCTL_API | ||
| DPCTLSyclBackendType | ||
| DPCTLDevice_GetBackend(__dpctl_keep const DPCTLSyclDeviceRef DRef); | ||
| DPCTLDevice_GetBackendVersion(__dpctl_keep const DPCTLSyclDeviceRef DRef); |
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 function does not need renaming. The SYCL function is called get_backend too.
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.
@1e-to can make this change? I will like to have this change in 0.7.0.
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.
Oops missed your change. All set.
oleksandr-pavlyk
left a comment
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.
@1e-to Please revert the change to DPCTLDevice_GetBackend -> DPCTLDevice_GetBackendVersion per @diptorupd comment.
examples/cython/sycl_buffer/bench.py
Outdated
| print( | ||
| "SYCL({}) result: {}".format( | ||
| dpctl.get_current_queue().get_sycl_device().get_device_name(), | ||
| dpctl.get_current_queue().get_sycl_device().name, |
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.
Perhaps it should be dpctl.get_current_queue().sycl_device.name to simplify?
oleksandr-pavlyk
left a comment
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 is looking good. Thank you @1e-to
Closes #284