-
Notifications
You must be signed in to change notification settings - Fork 81
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
Implement tests for sycl_ext_oneapi_local_memory
extension
#958
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Michael Aziz <[email protected]>
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.
Point3D() : x{0}, y{0}, z{0} {} | ||
Point3D(int x) : x{x}, y{0}, z{0} {} | ||
Point3D(int x, int y) : x{x}, y{y}, z{0} {} | ||
Point3D(int x, int y, int z) : x{x}, y{y}, z{z} {} |
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.
Point3D() : x{0}, y{0}, z{0} {} | |
Point3D(int x) : x{x}, y{0}, z{0} {} | |
Point3D(int x, int y) : x{x}, y{y}, z{0} {} | |
Point3D(int x, int y, int z) : x{x}, y{y}, z{z} {} | |
Point3D(int x = 0, int y = 0, int z = 0) : x{x}, y{y}, z{z} {} |
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.
Otherwise, why 0 everywhere as it might hide some bugs? What about some negative and positive prime numbers?
auto ptr = sycl::ext::oneapi::group_local_memory_for_overwrite<T[N]>( | ||
item.get_group()); | ||
T(&array)[N] = *ptr; |
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.
auto ptr = sycl::ext::oneapi::group_local_memory_for_overwrite<T[N]>( | |
item.get_group()); | |
T(&array)[N] = *ptr; | |
auto array = *sycl::ext::oneapi::group_local_memory_for_overwrite<T[N]>( | |
item.get_group()); |
?
Implement the tests from this test plan.