-
Notifications
You must be signed in to change notification settings - Fork 194
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
Negative tests for commandCopyImage[ToBuffer]KHR #1943
Negative tests for commandCopyImage[ToBuffer]KHR #1943
Conversation
const size_t origin[3] = { 0, 0, 0 }; | ||
const size_t region[3] = { 512, 512, 1 }; | ||
}; | ||
}; |
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.
Is this a trailing ; ?
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.
@silverclaw Yes, it is closing anonymous namespace, I have done it the same way as other tests are done in this directory.
extern int test_negative_command_buffer_copy_image_queue_not_null( | ||
cl_device_id device, cl_context context, cl_command_queue queue, | ||
int num_elements); | ||
extern int test_negative_command_buffer_copy_image_context_not_same( | ||
cl_device_id device, cl_context context, cl_command_queue queue, | ||
int num_elements); | ||
extern int test_negative_command_buffer_copy_image_sync_points_null_or_num_zero( | ||
cl_device_id device, cl_context context, cl_command_queue queue, | ||
int num_elements); | ||
extern int test_negative_command_buffer_copy_image_invalid_command_buffer( | ||
cl_device_id device, cl_context context, cl_command_queue queue, | ||
int num_elements); | ||
extern int test_negative_command_buffer_copy_image_finalized_command_buffer( | ||
cl_device_id device, cl_context context, cl_command_queue queue, | ||
int num_elements); | ||
extern int test_negative_command_buffer_copy_image_mutable_handle_not_null( | ||
cl_device_id device, cl_context context, cl_command_queue queue, | ||
int num_elements); |
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.
are the extern
keywords actually needed?
This is the default visibility for function declarations and thus is redundant.
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.
@silverclaw I have done it the same way as other tests are done in this directory.
According to description #1668