Michael Rizkalla

Results 8 issues of Michael Rizkalla

`test_spir` and its data are not installed correctly when building the installation target. This change makes sure both the binary and the test data are installed correctly to `${CMAKE_INSTALL_BINDIR}/$`.

This change refactors the following tests to use RAII to clean-up allocated resources on exit, and adds additional changes as mentioned below: - test_arrayreadwrite - Allow different `cl_mem_flags` to be...

focused review

This change provides partial test coverage for KhronosGroup/OpenCL-Docs#1280 Adding CTS tests for: 1. clEnqueueMapBuffer, clEnqueueMapImage. 2. Command buffer negative tests. 3. clSetKernelArgs negative tests. The bulk of the tests is...

focused review

`create_random_data` is an error-prone function that returns a pointer to allocated memory using malloc. As mentioned in #2177: > we really ought to remove use of the create_random_data function entirely...

This change adds negative tests for `clEnqueueMarkerWithWaitList`

This change extends the test coverage for https://github.com/KhronosGroup/OpenCL-Docs/pull/1280 The change tests: 1. Writing to immutable buffers. 2. Writing to buffer/image from immutable buffers. 3. Reading from immutable buffers. This change...

focused review

This PR adds negative tests for the following API functions: - clCreateContext - clCreateContextFromType - clRetainContext - clReleaseContext - clSetContextDestructorCallback Also, define a new macro `test_object_failure_ret` to test for an...

focused review