-
Notifications
You must be signed in to change notification settings - Fork 30
Device descriptor image2d3d functions #315
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
Conversation
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.
Rebase is needed with master and the C API test cases need to be slightly changed based on what I did in #337. Otherwise good to go.
DPCTLSyclDeviceRef DRef = nullptr; | ||
size_t image_2d_max_width = 0; | ||
EXPECT_NO_FATAL_FAILURE(DRef = DPCTLDevice_CreateFromSelector(DSRef)); | ||
if (!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.
I changed the test cases in master. I moved the DPCTLDevice_CreateFromSelector
into the fixture constructor and the GTEST_SKIP
to the SetUp()
. Reduces the redundant code in each test case. Please update these test cases in the same way.
@@ -388,6 +388,27 @@ bool DPCTLDevice_HasAspect(__dpctl_keep const DPCTLSyclDeviceRef DRef, | |||
return hasAspect; | |||
} | |||
|
|||
#define declmethod(FUNC, 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.
👍
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.
Need to be squashed.
info::device::image2d_max_width (size_t)
info::device::image2d_max_height (size_t)
info::device::image3d_max_width (size_t)
info::device::image3d_max_height (size_t)
info::device::image3d_max_depth (size_t)