-
Notifications
You must be signed in to change notification settings - Fork 66
Add test cases for zeCommandListAppendLaunchCooperativeKernel with SVM #285
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
base: master
Are you sure you want to change the base?
Add test cases for zeCommandListAppendLaunchCooperativeKernel with SVM #285
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Convert to draft if in progress |
Signed-off-by: Misiak, Konstanty <[email protected]>
Signed-off-by: Misiak, Konstanty <[email protected]>
Signed-off-by: Misiak, Konstanty <[email protected]>
83c29a3
to
80844dc
Compare
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.
Minor changes please fix
@@ -24,6 +24,7 @@ add_lzt_test( | |||
level_zero_tests::random | |||
${OS_SPECIFIC_LIBS} | |||
KERNELS | |||
cooperative_kernel |
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.
Update header entry to 2019-2025
|
||
ze_module_handle_t module = | ||
lzt::create_module(device, "cooperative_kernel.spv"); | ||
const char *funcion_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.
Typo should be function_name
__kernel void cooperative_kernel(__global int* input, __global int* output, const int N) { | ||
const int gid = get_global_id(0); | ||
|
||
barrier(CLK_LOCAL_MEM_FENCE | CLK_GLOBAL_MEM_FENCE); |
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.
Why do you use barriers in both kernels? There is no race condition in this scenario.
No description provided.