-
Notifications
You must be signed in to change notification settings - Fork 0
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
Merge KhronoGroup/OpenCL-CTS: main into nikhiljnv/OpenCL-CTS:KhronosGroup-master #43
base: KhronosGroup-master
Are you sure you want to change the base?
Commits on Oct 10, 2023
-
Add ffp-contract=off Compilation flag for CTS build (#1824)
* Fix enqueue_flags test to use correct barrier type. Currently, enqueue_flags test uses CLK_LOCAL_MEM_FENCE. Use CLK_GLOBAL_MEM_FENCE instead as all threads across work-groups need to wait here. * Add check for support for Read-Wrie images Read-Write images have required OpenCL 2.x. Read-Write image tests are already being skipped for 1.x devices. With OpenCL 3.0, read-write images being optional, the tests should be run or skipped depending on the implementation support. Add a check to decide if Read-Write images are supported or required to be supported depending on OpenCL version and decide if the tests should be run on skipped. Fixes issue #894 * Fix formatting in case of Read-Write image checks. Fix formatting in case of Read-write image checks. Also, combine two ifs into one in case of kerne_read_write tests * Fix some more formatting for RW-image checks Remove unnecessary spaces at various places. Also, fix lengthy lines. * Fix malloc-size calculation in test imagedim unsigned char size is silently assumed to be 1 in imagedim test of test_basic. Pass sizeof(type) in malloc size calculation. Also, change loop variable from signed to unsigned. Add checks for null pointer for malloced memory. * Initial CTS for external sharing extensions Initial set of tests for below extensions with Vulkan as producer 1. cl_khr_external_memory 2. cl_khr_external_memory_win32 3. cl_khr_external_memory_opaque_fd 4. cl_khr_external_semaphore 5. cl_khr_external_semaphore_win32 6. cl_khr_external_semaphore_opaque_fd * Updates to external sharing CTS Updates to external sharing CTS 1. Fix some build issues to remove unnecessary, non-existent files 2. Add new tests for platform and device queries. 3. Some added checks for VK Support. * Update CTS build script for Vulkan Headers Update CTS build to clone Vulkan Headers repo and pass it to CTS build in preparation for external memory and semaphore tests * Fix Vulkan header path Fix Vulkan header include path. * Add Vulkan loader dependency Vulkan loader is required to build test_vulkan of OpenCL-CTS. Clone and build Vulkan loader as prerequisite to OpenCL-CTS. * Fix Vulkan loader path in test_vulkan Remove arch/os suffix in Vulkan loader path to match vulkan loader repo build. * Fix warnings around getHandle API. Return type of getHandle is defined differently based on win or linux builds. Use appropriate guards when using API at other places. While at it remove duplicate definition of ARRAY_SIZE. * Use ARRAY_SIZE in harness. Use already defined ARRAY_SIZE macro from test_harness. * Fix build issues for test_vulkan Fix build issues for test_vulkan 1. Add cl_ext.h in common files 2. Replace cl_mem_properties_khr with cl_mem_properties 3. Replace cl_external_mem_handle_type_khr with cl_external_memory_handle_type_khr 4. Type-cast malloc as required. * Fix code formatting. Fix code formatting to get CTS CI builds clean. * Fix formatting fixes part-2 Another set of formatting fixes. * Fix code formatting part-3 Some more code formatting fixes. * Fix code formatting issues part-4 More code formatting fixes. * Formatting fixes part-5 Some more formatting fixes * Fix formatting part-6 More formatting fixes continued. * Code formatting fixes part-7 Code formatting fixes for image * Code formatting fixes part-8 Fixes for platform and device query tests. * Code formatting fixes part-9 More formatting fixes for vulkan_wrapper * Code formatting fixes part-10 More fixes to wrapper header * Code formatting fixes part-11 Formatting fixes for api_list * Code formatting fixes part-12 Formatting fixes for api_list_map. * Code formatting changes part-13 Code formatting changes for utility. * Code formatting fixes part-15 Formatting fixes for wrapper. * Misc Code formatting fixes Some more misc code formatting fixes. * Fix build breaks due to code formatting Fix build issues arised with recent code formatting issues. * Fix presubmit script after merge Fix presubmit script after merge conflicts. * Fix Vulkan loader build in presubmit script. Use cmake ninja and appropriate toolchain for Vulkan loader dependency to fix linking issue on arm/aarch64. * Use static array sizes Use static array sizes to fix windows builds. * Some left-out formatting fixes. Fix remaining formatting issues. * Fix harness header path Fix harness header path While at it, remove Misc and test pragma. * Add/Fix license information Add Khronos License info for test_vulkan. Replace Apple license with Khronos as applicable. * Fix headers for Mac OSX builds. Use appropriate headers for Mac OSX builds * Fix Mac OSX builds. Use appropriate headers for Mac OSX builds. Also, fix some build issues due to type-casting. * Fix new code formatting issues Fix new code formatting issues with recent MacOS fixes. * Add back missing case statement Add back missing case statement that was accidentally removed. * Disable USE_GAS for Vulkan Loader build. Disable USE_GAS for Vulkan Loader build to fix aarch64 build. * Fixes to OpenCL external sharing tests Fix clReleaseSemaphore() API. Fix copyright year. Some other minor fixes. * Improvements to OpenCL external sharing CTS Use SPIR-V shaders instead of NV extension path from GLSL to Vulkan shaders. Fixes for lower end GPUs to use limited memory. Update copy-right year at some more places. * Fix new code formatting issues. Fix code formatting issues with recent changes for external sharing tests. * More formatting fixes. More formatting fixes for recent updates to external sharing tests. * Final code formatting fixes. Minor formatting fixes to get format checks clean. * Update extension list of test_compiler Upate extension list of test_compiler with missing external memory and semaphore extensions * Add ffp-contract=off Compilation flag for CTS build. GCC defaults to using ffp-contract=fast even when fast math is disabled in the case of GNU C This creates precision issues when comparing the results with that of x86_64. GNU options reference: https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html# This fix is to disable floating-point expression contractions with flag ffp-contract=off for math_brute_force tests Fixes #1794 * Make fp-contract flag arch-independent, but compiler dependent Use existing CMake constructs to add fp-contract flag so that it automatically checks for compiler support. Also, make this change arch-independent. Fixes #1794 * Fix typo in earlier commit Fix typo in earlier commit Fixes #1794 * Remove duplicate addition of ffp-contract flag ffp-contract flag is currently added via two macros Retain add_cxx_flag_if_supported macro and remove set_gnulike_module_compile_flags. Fixes #1794 * Fix typo in earlier commit Add closing " that was unintentionally removed in previous commit.
Configuration menu - View commit details
-
Copy full SHA for a7c33f8 - Browse repository at this point
Copy the full SHA a7c33f8View commit details -
add tests for clCommandSVMMemcpyKHR & clCommandSVMMemfillKHR (#1821)
* add tests for clCommandSVMMemcpyKHR & clCommandSVMMemfillKHR * Fix typo SVMMemfill -> SVMMemFill * fix clCommandSVMMemFillKHR calls to match extension * add Khronos license + minor fixes * review fixes
Configuration menu - View commit details
-
Copy full SHA for af27103 - Browse repository at this point
Copy the full SHA af27103View commit details -
Add NULL CL_MEM_HOST_PTR check for clGetMemObjectInfo (#1801)
The spec requires implementations return NULL for CL_MEM_HOST_PTR when the flags passed at memory object creation time do not contain CL_MEM_USE_HOST_PTR CTS was not checking this. Add the same check. Fixes #1752
Configuration menu - View commit details
-
Copy full SHA for c73d6a3 - Browse repository at this point
Copy the full SHA c73d6a3View commit details
Commits on Oct 17, 2023
-
Added cl_khr_fp16 extension support for test_explicit_s2v from basic (#…
…1713) * Added cl_khr_fp16 support for test_explicit_s2v from basic (issue #142, basic) * Cosmetic corrections * cosmetic fix * Added correction to distinguish signed and unsigned char types for ARM architecture tests * Added missing pieces of convertion procedure to support half * Corrected condition to verify if additional pragma is necessary (issue #142, basic) * Add NaN check for half to float conversion * check-format fixes * Add NaN check for all float types Use std::isnan for float/double types. Change-Id: I005bddccaa3f8490ac59b2aa431ed315733ad143 * Fix Ubuntu build error with isnan macro definition Change-Id: I671ed826a9631fbbc66d0aa9b674ab00124c7967 * Check format fixes * NAN define not needed anymore --------- Co-authored-by: Vasu Penugonda <vpenugon@qti.qualcomm.com> Co-authored-by: Sreelakshmi Haridas <sharidas@quicinc.com>
Configuration menu - View commit details
-
Copy full SHA for 72bb711 - Browse repository at this point
Copy the full SHA 72bb711View commit details -
make atomic tests in prog var testing optional (#1799)
This is helpful for testing progvars on implementations not implementing all the optional atomic features.
Configuration menu - View commit details
-
Copy full SHA for c6dd6f2 - Browse repository at this point
Copy the full SHA c6dd6f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40aaa2b - Browse repository at this point
Copy the full SHA 40aaa2bView commit details
Commits on Oct 30, 2023
-
Delete unused file test_float2int.cpp (#1831)
Remove left over file from (#1537) #1537 (comment) Signed-off-by: John Kesapides <john.kesapides@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 7e4b59d - Browse repository at this point
Copy the full SHA 7e4b59dView commit details
Commits on Nov 7, 2023
-
Image2d_from_buffer_positive comparison fix (#1569)
Only check against 2D image types as per the spec. Move some device checks out of the loop. Only perform the checks when element_size is a power of two. Signed-off-by: John Kesapides <john.kesapides@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 115e999 - Browse repository at this point
Copy the full SHA 115e999View commit details -
c11_atomics: fix uninitialized member accesses (#1819)
Initialize the `_memoryOrder` and `_memoryScope` members to avoid `CBasicTestMemOrderScope::MaxHostThreads()` accessing uninitialized data. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 42434d0 - Browse repository at this point
Copy the full SHA 42434d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for be626ca - Browse repository at this point
Copy the full SHA be626caView commit details
Commits on Nov 9, 2023
-
profiling: fix -Wformat warnings (#1838)
Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for f08b3f6 - Browse repository at this point
Copy the full SHA f08b3f6View commit details
Commits on Nov 14, 2023
-
c11_atomics: align signedness of host types (#1816)
Some `HOST_` types were declared with signedness different from the `HOST_ATOMIC_` counterparts, leading to sign-compare warnings when comparing between types. Fix by aligning the signedness. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for ea6e536 - Browse repository at this point
Copy the full SHA ea6e536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 482126d - Browse repository at this point
Copy the full SHA 482126dView commit details -
Reduce the Vulkan interop buffer kernel workgroup size to 256 (#1828)
Using `local_size_x = 512` in the shader used in the Vulkan interop tests fails on older hardware because this exceeds the maximum barrier size limit. Changed to 256, which is still a multiple of 32 and 64, and is below the hardware limitations. The tests are not performance tests anyways, so the performance penalty, if any, is acceptable. Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 8b1a44f - Browse repository at this point
Copy the full SHA 8b1a44fView commit details -
switch to the new memory and semaphore specific device handle lists (#…
…1814) * switch to the new memory and semaphore specific device handle lists * remove support for older headers * dummy commit
Configuration menu - View commit details
-
Copy full SHA for eec46a0 - Browse repository at this point
Copy the full SHA eec46a0View commit details
Commits on Nov 23, 2023
-
Reduce the Vulkan interop buffer kernel workgroup size to 128 (#1846)
Vulkan guarantees 128 is always supported. Relates to #1828 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 5815e2c - Browse repository at this point
Copy the full SHA 5815e2cView commit details
Commits on Nov 29, 2023
-
Semaphore types bug fixes revised (#1822)
* Added support for SYNC_FD and other handle types * Fix consistency test Deleted test cases that are no longer testable according to the spec. * Fix multi-import tests -Delete obsolete code relating to offsets -Propagate dedicated memory change * Fix error handling Some subtests did not fail on incorrect result. Changes to macros to fail, so this does not occur again. * Delete invalid test cases Test cases are not related to this extension. * External memory test Add support for any handle type supported by the platform. Change-Id: I6765fde5e7929988f49bfbf2df2f41d5263b6abc * Update multi-import tests to use new semaphore types * Fix formatting * Addressed review comments. Deleted VULKAN_EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_NT_KMT as it appears to be redundant.
Configuration menu - View commit details
-
Copy full SHA for f5bd92b - Browse repository at this point
Copy the full SHA f5bd92bView commit details
Commits on Dec 5, 2023
-
Increase the number of work items used by the allocations test (#1852)
* Increase the number of work items used by the allocations test The test uses a fixed number of work items to process very large buffers and images. As devices support more and more memory, this leads to an ever-increasing amount of work done in each work item. This results in some implementations and devices hitting timeout issues. Furthermore, a greater number of work items can provide performance benefits on some devices. Long term, this test should be redesigned to scale the number of threads dynamically as a function of the max allocation size. Signed-off-by: Kevin Petit <kevin.petit@arm.com> * formatting and add parentheses --------- Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 0fa6f23 - Browse repository at this point
Copy the full SHA 0fa6f23View commit details
Commits on Dec 12, 2023
-
allocations: Move results array from stack to heap (#1857)
* allocations: Fix stack overflow * check format fixes
Configuration menu - View commit details
-
Copy full SHA for 9a8fd1f - Browse repository at this point
Copy the full SHA 9a8fd1fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a73f2b3 - Browse repository at this point
Copy the full SHA a73f2b3View commit details -
thread_dimensions: Avoid combinations of very small LWS and very larg…
…e GWS (#1856) Modify the existing condition to include extremely small LWS like 1x1 on large GWS values
Configuration menu - View commit details
-
Copy full SHA for 352e707 - Browse repository at this point
Copy the full SHA 352e707View commit details -
c11_atomics: Reduce the loopcounter for sequential consistency tests (#…
…1853) Reduce the loop from 1000000 to 500000 since the former value makes the test run too long and cause system issues on certain platforms
Configuration menu - View commit details
-
Copy full SHA for c8ebba8 - Browse repository at this point
Copy the full SHA c8ebba8View commit details -
Limit individual allocation size using the global memory size (#1835)
Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 344a883 - Browse repository at this point
Copy the full SHA 344a883View commit details
Commits on Dec 14, 2023
-
geometrics: fix Wsign-compare warnings (#1855)
Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 47d5d37 - Browse repository at this point
Copy the full SHA 47d5d37View commit details
Commits on Dec 20, 2023
-
integer_ops: fix -Wformat warnings (#1860)
The main sources of warnings were: * Printing of a `size_t` which requires the `%zu` specifier. * Printing of `cl_long`/`cl_ulong` which is now done using the `PRI*64` macros to ensure portability across 32 and 64-bit builds. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for b36b2d5 - Browse repository at this point
Copy the full SHA b36b2d5View commit details
Commits on Dec 28, 2023
-
Replace OBSOLETE_FORAMT with OBSOLETE_FORMAT (#1776)
* Replace OBSOLETE_FORAMT with OBSOLETE_FORMAT In imageHelpers.cpp and few other places in image tests, OBSOLETE_FORMAT is misspelled as OBSOLETE_FORAMT. Fix misspelling by replcaing it with OBSOLETE_FORMAT. Fixes #1769 * Remove code guarded by OBSOLETE_FORMAT Remove code guarded by OBSOLETE_FORMAT as suggested by review comments Fixes #1769 * Fix formating issues for OBSOLETE_FORMAT changes Fix formatting issues observed in files while removing code guarded by OBSOLETE_FORMAT Fixes #1769 * Some more formatting fixes Some more formatting fixes to get CI clean Fixes #1769 * Final Formating fixes Final formatting fixes for #1769
Configuration menu - View commit details
-
Copy full SHA for b041ec0 - Browse repository at this point
Copy the full SHA b041ec0View commit details
Commits on Jan 9, 2024
-
Enhancement: Thread dimensions user parameters (#1384)
* Fix format in the test scope * Add user params to limit testing Add parameters to reduce amount of testing. Helpful for debugging or for machines with lower performance. * Restore default value * Print info only if testing params bigger than 0.
Configuration menu - View commit details
-
Copy full SHA for 05ba82a - Browse repository at this point
Copy the full SHA 05ba82aView commit details -
[NFC] conversions: reenable Wunused-but-set-variable (#1845)
Remove an assigned-to but unused variable. Reenable the Wunused-but-set-variable warning for the conversions suite, as it now compiles cleanly with this warning enabled. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 115bbb3 - Browse repository at this point
Copy the full SHA 115bbb3View commit details -
Fix bug of conversion from long to double (#1847)
* Fix bug of conversion from long to double It the input is long type, it should be load as long type, not ulong. * update long2float
Configuration menu - View commit details
-
Copy full SHA for 6606fc2 - Browse repository at this point
Copy the full SHA 6606fc2View commit details -
math_brute_force: fix exp/exp2 rlx ULP calculation (#1848)
Fix the ULP error calculation for the `exp` and `exp2` builtins in relaxed math mode for the full profile. Previously, the `ulps` value kept being added to while verifying the result buffer in a loop. `ulps` could even become a `NaN` when the input argument being tested was a `NaN`. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for ebe8aa0 - Browse repository at this point
Copy the full SHA ebe8aa0View commit details -
Enable LARGEADDRESSAWARE for 32 bit compilation (#1858)
* Enable LARGEADDRESSAWARE for 32 bit compilation 32-bit executables built with MSVC linker have only 2GB virtual memory address space by default, which might not be sufficient for some tests. Enable LARGEADDRESSAWARE linker flag for 32-bit targets to allow tests to handle addresses larger than 2 gigabytes. https://learn.microsoft.com/en-us/cpp/build/reference/largeaddressaware-handle-large-addresses?view=msvc-170 Signed-off-by: Guo, Yilong <yilong.guo@intel.com> * Apply suggestion Co-authored-by: Ben Ashbaugh <ben.ashbaugh@intel.com> --------- Signed-off-by: Guo, Yilong <yilong.guo@intel.com> Co-authored-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
Configuration menu - View commit details
-
Copy full SHA for f924273 - Browse repository at this point
Copy the full SHA f924273View commit details
Commits on Jan 16, 2024
-
fix return code when readwrite image is not supported (#1873)
This function (do_test) starts by testing write and read individually. Both of them can have errors. When readwrite image is not supported, the function returns TEST_SKIPPED_ITSELF potentially masking errors leading to the test returning EXIT_SUCCESS even with errors along the way.
Configuration menu - View commit details
-
Copy full SHA for 7d3db1b - Browse repository at this point
Copy the full SHA 7d3db1bView commit details -
fix macos builds by avoiding double compilation of function_list.cpp …
…for test_spir (#1866) * modernize CMakeLists for test_spir * add the operating system release to the sccache key * include the math brute force function list vs. building it twice
Configuration menu - View commit details
-
Copy full SHA for 0a32b5c - Browse repository at this point
Copy the full SHA 0a32b5cView commit details -
fix the license header on the spirv-new tests (#1865)
The source files for the spirv-new tests were using the older Khronos license instead of the proper Apache license. Fixed the license in all source files.
Configuration menu - View commit details
-
Copy full SHA for 1260e7f - Browse repository at this point
Copy the full SHA 1260e7fView commit details
Commits on Jan 17, 2024
-
compiler: fix grammar in error message (#1877)
Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 0bdd0fd - Browse repository at this point
Copy the full SHA 0bdd0fdView commit details
Commits on Jan 23, 2024
-
Updated semaphore tests to use clSemaphoreReImportSyncFdKHR. (#1854)
* Updated semaphore tests to use clSemaphoreReImportSyncFdKHR. Additionally updated common semaphore code to handle spec updates that restrict simultaneous importing/exporting of handles. * Fix build issues on CI * gcc build issues * Make clReImportSemaphoreSyncFdKHR a required API call if cl_khr_external_semaphore_sync_fd is present. * Implement signal and wait for all semaphore types.
Configuration menu - View commit details
-
Copy full SHA for b5f030f - Browse repository at this point
Copy the full SHA b5f030fView commit details
Commits on Jan 30, 2024
-
subgroups: fix for testing too large WG sizes (#1620)
It seemed to be a typo; the comment says that it tries to fetch local size for a subgroup count with above max WG size, but it just used the previous subgroup count. The test on purpose sets a SG count to be a larger number than the max work-items in the work group. Given the minimum SG size is 1 WI, it means that there can be a maximum of maximum work-group size of SGs (of 1 WI of size). Thus, if we request a number of SGs that exceeds the local size, the query should fail as expected.
Configuration menu - View commit details
-
Copy full SHA for 8bb89b1 - Browse repository at this point
Copy the full SHA 8bb89b1View commit details -
add SPIR-V version testing (#1861)
* basic SPIR-V 1.3 testing support * updated script to compile for more SPIR-V versions * switch to general SPIR-V versions test * update copyright text and fix license * improve output while test is running * check for higher SPIR-V versions first * fix formatting
Configuration menu - View commit details
-
Copy full SHA for d5b7d10 - Browse repository at this point
Copy the full SHA d5b7d10View commit details -
fix the reported platform information for math brute force (#1884)
When the math brute force test printed the platform version it always printed information for the first platform in the system, which could be different than the platform for the passed-in device. Fixed by querying the platform from the passed-in device instead.
Configuration menu - View commit details
-
Copy full SHA for 7dbf31e - Browse repository at this point
Copy the full SHA 7dbf31eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac7a14e - Browse repository at this point
Copy the full SHA ac7a14eView commit details -
Minor fixes in mutable dispatch tests. (#1829)
* Minor fixes in mutable dispatch tests. * Fix size of newWrapper in MutableDispatchSVMArguments. * Fix errnoneus clCommandNDRangeKernelKHR call. Signed-off-by: John Kesapides <john.kesapides@arm.com> * * Set the row_pitch for imageInfo in MutableDispatchImage1DArguments and MutableDispatchImage2DArguments. The row_pitch is used by get_image_size() to calculate the size of the host pointers by generate_random_image_data. Signed-off-by: John Kesapides <john.kesapides@arm.com> --------- Signed-off-by: John Kesapides <john.kesapides@arm.com>
Configuration menu - View commit details
-
Copy full SHA for d394b0f - Browse repository at this point
Copy the full SHA d394b0fView commit details
Commits on Feb 6, 2024
-
add test for cl_khr_spirv_linkonce_odr (#1226)
* initial version of the test with placeholders for linkonce_odr linkage * add OpExtension SPV_KHR_linkonce_odr extension * add check for extension * switch to actual LinkOnceODR linkage * fix formatting * add a test case to ensure a function with linkonce_odr is exported * add back the extension check * fix formatting * undo compiler optimization and actually add the call to function a
Configuration menu - View commit details
-
Copy full SHA for a256e4a - Browse repository at this point
Copy the full SHA a256e4aView commit details
Commits on Feb 9, 2024
-
[NFC] subgroups: remove unnecessary extern keywords (#1892)
In C and C++ all functions have external linkage by default. Also remove the unused `gMTdata` and `test_pipe_functions` declarations. Fixes #1137 Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for e187746 - Browse repository at this point
Copy the full SHA e187746View commit details
Commits on Feb 13, 2024
-
Added cl_khr_fp16 extension support for test_decorate from spirv_new (#…
…1770) * Added cl_khr_fp16 extension support for test_decorate from spirv_new, work in progres * Complemented test_decorate saturation test to support cl_khr_fp16 extension (issue #142) * Fixed clang format * scope of modifications: -changed naming convention of saturation .spvasm files related to test_decorate of spirv_new -restored float to char/uchar saturation tests -few minor corrections * fix ranges for half testing * fix formating * one more formatting fix * remove unused function * use isnan instead of std::isnan isnan is currently implemented as a macro, not as a function, so we can't use std::isnan. * fix Clang warning about inexact conversion --------- Co-authored-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
Configuration menu - View commit details
-
Copy full SHA for a4b5a30 - Browse repository at this point
Copy the full SHA a4b5a30View commit details -
add support for custom devices (#1891)
enable the CTS to run on custom devices
Configuration menu - View commit details
-
Copy full SHA for d4f9d04 - Browse repository at this point
Copy the full SHA d4f9d04View commit details
Commits on Feb 27, 2024
-
add tests for cl_khr_expect_assume (#1888)
* initial support for cl_khr_expect_assume Tests expect with 64-bit SPIR-V binaries. * add support for assume testing with 64-bit binaries * add 32-bit SPIR-V files * fix formatting * address review comments
Configuration menu - View commit details
-
Copy full SHA for 0052af2 - Browse repository at this point
Copy the full SHA 0052af2View commit details -
Fix -Wformat warnings in various tests (#1868)
All of these warnings stem from printing `size_t` types, which should be done using the `z` length modifier. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for e0a31a0 - Browse repository at this point
Copy the full SHA e0a31a0View commit details
Commits on Mar 7, 2024
-
subgroups: Add missing algorithm header (#1906)
* Was causing a build error with GN * fill_and_shuffle_safe_values() in subhelpers.cpp calls std::shuffle() * std::shuffle is defined in <algorithm>
Configuration menu - View commit details
-
Copy full SHA for 26c89df - Browse repository at this point
Copy the full SHA 26c89dfView commit details
Commits on Mar 8, 2024
-
Fix uninitialised memory use. (#1909)
CL_DEVICE_MAX_WORK_GROUP_SIZE is specified to fill in a size_t. By asking it to fill in an uninitialised cl_long, on platforms where size_t is smaller than cl_long, the high bits of the cl_long remain uninitialised.
Configuration menu - View commit details
-
Copy full SHA for 6a60db5 - Browse repository at this point
Copy the full SHA 6a60db5View commit details -
vectors: fix -Wformat warnings (#1910)
Use the `z` length modifier for printing `size_t` types. Also fix a typo in the error messages. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 1f0fa08 - Browse repository at this point
Copy the full SHA 1f0fa08View commit details
Commits on Mar 11, 2024
-
spirv_new: avoid GLOB for sources in CMakeLists (#1907)
Using `GLOB` here breaks incremental builds when switching between branches (e.g. when trying out a pull request). The CMake documentation discourages use of `GLOB` to collect a list of source files, so list all source files explicitly. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for ee504ba - Browse repository at this point
Copy the full SHA ee504baView commit details
Commits on Mar 12, 2024
-
[subgroups][non_uniform_broadcast] Fix broadcasting index generation (#…
…1680) * [subgroups][non_uniform_broadcast] Fix broadcasting index generation The subgroup size may not be greater than `NR_OF_ACTIVE_WORK_ITEMS`. Broadcasting index needs to be reduced in that case. Otherwise, if subgroup size == `NR_OF_ACTIVE_WORK_ITEMS` == 4, then we will encounter "divide-by-zero" error when evaluating `bcast_index % (n - NR_OF_ACTIVE_WORK_ITEMS)`. * Revert "[subgroups][non_uniform_broadcast] Fix broadcasting index generation" This reverts commit 9bbab53. * [subgroups][non_uniform_broadcast] Fix broadcasting index generation Dynamically activate half of the work items in the current subgroup instead of hardcoding as `NR_OF_ACTIVE_WORK_ITEMS`. * Apply suggestion
Configuration menu - View commit details
-
Copy full SHA for a045f76 - Browse repository at this point
Copy the full SHA a045f76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90cefbb - Browse repository at this point
Copy the full SHA 90cefbbView commit details -
Add NULL CL_MEM_HOST_PTR check for all flag combinations (#1850)
* Add NULL CL_MEM_HOST_PTR check for clGetMemObjectInfo The spec requires implementations return NULL for CL_MEM_HOST_PTR when the flags passed at memory object creation time do not contain CL_MEM_USE_HOST_PTR CTS was not checking this. Add the same check. Fixes #1752 * Add NULL CL_MEM_HOST_PTR check for all flag combinations As part of suggestions to #1801, add NULL CL_MEM_HOST_PTR check for all flag combinations. Fixes #1752 * Fix formatting issues
Configuration menu - View commit details
-
Copy full SHA for 6530ae4 - Browse repository at this point
Copy the full SHA 6530ae4View commit details -
Added command buffer test with all mutable parameters dispatch (#1905)
Configuration menu - View commit details
-
Copy full SHA for ffb0265 - Browse repository at this point
Copy the full SHA ffb0265View commit details -
device_execution: fix CL_QUEUE_* in error messages (#1896)
When reporting errors from `clCreateCommandQueueWithProperties`, report the correct property names. In particular: `CL_QUEUE_DEVICE` should be `CL_QUEUE_ON_DEVICE`. `CL_QUEUE_DEFAULT` should be `CL_QUEUE_ON_DEVICE_DEFAULT`. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for d8ad10d - Browse repository at this point
Copy the full SHA d8ad10dView commit details
Commits on Mar 18, 2024
-
[CI] Upgrade to actions/checkout@v4 (#1920)
Node.js 16 actions are deprecated, so update to v4 which uses Node 20. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 4c318a1 - Browse repository at this point
Copy the full SHA 4c318a1View commit details -
musl-libc doesn't provide GNU version of strerror_r but uses BSD/XSI …
…one (#1911) * harness: correct include and sort warning redirecting incorrect #include <sys/errno.h> to <errno.h> Signed-off-by: David Heidelberg <david@ixit.cz>
Configuration menu - View commit details
-
Copy full SHA for 77293c8 - Browse repository at this point
Copy the full SHA 77293c8View commit details
Commits on Mar 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 109c0a1 - Browse repository at this point
Copy the full SHA 109c0a1View commit details -
Added new tests for simultaneous use with mutable dispatch (#1912)
* Added new tests for simultaneous use with mutable dispatch -cross queue simultaneous use -in-order queue with simultaneous use According to issue description #1481 * Several corrections applied: -reordered Skip conditions to check valid simultaneous_use_support flag -removed unnecessary SetUpKernel call -initialize kernel and memory buffers from BasicCommandBufferTest instead BasicMutableCommandBufferTest * Corrections for command buffer creation to request simultaneous property
Configuration menu - View commit details
-
Copy full SHA for 8f3ef08 - Browse repository at this point
Copy the full SHA 8f3ef08View commit details -
Added new test to cover multiple commands dispatch in one enqueued up…
Configuration menu - View commit details
-
Copy full SHA for da4a30d - Browse repository at this point
Copy the full SHA da4a30dView commit details
Commits on Mar 20, 2024
-
Fix failing image tests for CL_UNORM_INT_101010_2 (#1917)
Add support for `CL_UNORM_INT_101010_2` in the `get_pixel_size` helper function. This fixes the following tests: * memInfo_image_from_buffer_positive * image_from_buffer_alignment_negative * imageInfo_image_from_buffer_positive Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 0deddf2 - Browse repository at this point
Copy the full SHA 0deddf2View commit details -
relationals: fix -Wformat-truncation warning (#1918)
`inOrderStr` and `outOrderStr` are both written into `orderName`, which may not fit as all three are the same size. Decrease the sizes of `inOrderStr` and `outOrderStr`. The new sizes are still sufficiently large to hold the result of `get_order_string`. This commit only affects the error path and does not change the printed output. Error logs before and after this commit should not differ. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 049b719 - Browse repository at this point
Copy the full SHA 049b719View commit details
Commits on Mar 26, 2024
-
Added test to cover overwritten update of mutable parameters (#1922)
* Added test to cover overwritten update of mutable parameters According to issue description #1481 * cosmetic corrections * Corrections due to code review
Configuration menu - View commit details
-
Copy full SHA for 349427e - Browse repository at this point
Copy the full SHA 349427eView commit details -
Added test to cover iterative mutable argument update (#1925)
* Added test to cover iterative mutable argument update According to issue description #1481 * cosmetic correction * clang format fix * Corrections due to code review
Configuration menu - View commit details
-
Copy full SHA for 9636117 - Browse repository at this point
Copy the full SHA 9636117View commit details
Commits on Mar 27, 2024
-
half: fix -Wformat warnings (#1927)
Avoid casting to `uint64_t` in some places; instead keep the types as `size_t` and use the `%z` length modifier, or as `uint32_t` and use the `%u` specifier. For printing of 64-bit types, use the `PRI*64` macros from <cinttypes> to ensure portability across 32 and 64-bit builds. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 83203db - Browse repository at this point
Copy the full SHA 83203dbView commit details
Commits on Apr 2, 2024
-
Shader -> SPIR-V at CTS build time (#1849) (#1878)
* Shader -> SPIR-V at CTS build time (#1849) Instead of relying on prebuilt checked-in SPIR-V files, compile available shaders at CTS build time. * Add dependency on glslc (available as part of VULKAN_SDK). * Add optional build flag BUILD_GLSL_SHADERS, OFF by default. * Remove pre-built SPIR-V files * Compile Shader -> SPIR-V at CTS build time * Use glslangValidator for shader -> spirv * Add glslangValidator tool for shader -> spirv * Refactor glslangValidator tool retrieval * Address review comments * Use add_subdirectory() instead of include() * Use glslang instead of glslangValidator * Update Github actions CI to install Vulkan SDK
Configuration menu - View commit details
-
Copy full SHA for 7f1caf4 - Browse repository at this point
Copy the full SHA 7f1caf4View commit details
Commits on Apr 4, 2024
-
[NFC] subgroups: clarify bs128 to uint4 conversion (#1893)
There appears to have been some confusion over `uint_mask` during the initial reviews of the subgroup tests. Add a comment to clarify the purpose of the mask. Use a 32-bit all-ones mask (`0xffffffff`) instead of a 64-bit all-ones mask to further clarify the intent, that is, don't delay discarding the upper 32 bits until the assignment but mask them out immediately. Fixes #1203 Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 48003e9 - Browse repository at this point
Copy the full SHA 48003e9View commit details -
fix the type used for bitfield_extract_signed (#1913)
We compute the reference values using unsigned types exclusively, even when the input type is signed. This fixes one place where an signed type was inadvertently used.
Configuration menu - View commit details
-
Copy full SHA for 27e47e9 - Browse repository at this point
Copy the full SHA 27e47e9View commit details
Commits on Apr 5, 2024
-
spirv_new: fix -Wformat warnings (#1933)
`log_error` was invoked from a template function, but the format specifiers weren't adjusted for the template parameter types. Use a stringstream for printing instead. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 5fe1cc0 - Browse repository at this point
Copy the full SHA 5fe1cc0View commit details
Commits on Apr 9, 2024
-
Corrections for mutable arguments tests (#1921)
* Corrections to mutable arguments tests -added verification of device capabilities against mutable arguments -corrected fail of 2 tests with Construction Kit -general cleanup * cleanup corrections * restored relaxed version of mutable arguments tests * corrections to strengthen the test around SVM arguments
Configuration menu - View commit details
-
Copy full SHA for f2a3073 - Browse repository at this point
Copy the full SHA f2a3073View commit details -
Added negative tests for clGetCommandBufferInfoKHR (#1929)
* Added negative tests for clGetCommandBufferInfo * Replaced param_value_size values from 0 to sizeof() - 1
Configuration menu - View commit details
-
Copy full SHA for d0300d1 - Browse repository at this point
Copy the full SHA d0300d1View commit details -
Fix cross-context semaphore signals (#1886)
Multi-context test was not correctly testing cross-context functionality. Use semaphore import/export mechanism to signal across contexts.
Configuration menu - View commit details
-
Copy full SHA for 48b9878 - Browse repository at this point
Copy the full SHA 48b9878View commit details
Commits on Apr 15, 2024
-
device_execution: fix -Wformat warnings (#1938)
Printing of a `size_t` requires the `%zu` specifier. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 1139f54 - Browse repository at this point
Copy the full SHA 1139f54View commit details
Commits on Apr 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 7fa567c - Browse repository at this point
Copy the full SHA 7fa567cView commit details -
Test IMAGE1D_BUFFER in more scenario (#1806)
* cl_copy_images * cl_get_info * cl_fill_image * cl_read_write_image * kernel_image_methods * IMAGE1D_BUFFER cannot be created with (USE_|ALLOC_|COPY_)_HOST_PTR * do not allow mipmap with 1D buffer * adjust M to be within maximum_sizes and max_pixels * remove unused variables * make sure M will never be 0 * fix region[0] after refactoring removing mipmap * fix formatting * format with clang-format-11 * fix image1d_buffer creation with gEnablePitch * add missing case in switch * use align_malloc when CL version is at least 2.0 * use CL_DEVICE_NUMERIC_VERSION and align_free * fix free of pitch buffer * fix formatting * fix formatting * fix data->is_aligned
Configuration menu - View commit details
-
Copy full SHA for be8b56d - Browse repository at this point
Copy the full SHA be8b56dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 61a220f - Browse repository at this point
Copy the full SHA 61a220fView commit details -
These aren't included or built anywhere.
Configuration menu - View commit details
-
Copy full SHA for a977e35 - Browse repository at this point
Copy the full SHA a977e35View commit details -
This is 7-year old CMake code that never did anything because the function invocation is missing the PROPERTIES keyword. Adding the keyword results in build errors, so just drop the dead code since everything seems to be working without it anyway.
Configuration menu - View commit details
-
Copy full SHA for 43237f7 - Browse repository at this point
Copy the full SHA 43237f7View commit details -
test_vulkan: don't throw from destructors (#1947)
Only report an error (and include the error code), but don't throw an exception as that would call `terminate`. Failure to release resources is not fatal in other parts of the CTS. This fixes `-Wterminate` warnings: warning: ‘throw’ will always call ‘terminate’ [-Wterminate] note: in C++11 destructors default to ‘noexcept’ Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 7dc9593 - Browse repository at this point
Copy the full SHA 7dc9593View commit details
Commits on Apr 19, 2024
-
Added negative tests for clRetainCommandBufferKHR, clReleaseCommandBu… (
#1928) * Added negative tests for clRetainCommandBufferKHR, clReleaseCommandBufferKHR, clFinalizeCommandBufferKHR * Added blocking the clEnqueueCommandBufferKHR call on a user event * Changed cl_event to clEventWrapper
Configuration menu - View commit details
-
Copy full SHA for 308fa6e - Browse repository at this point
Copy the full SHA 308fa6eView commit details
Commits on Apr 22, 2024
-
Added negative tests for clEnqueueCommandBufferKHR (#1931)
* Added negative tests for clEnqueueCommandBufferKHR * Added blocking the clEnqueueCommandBufferKHR call on a user event * Added finalizing buffer before enqueuing
Configuration menu - View commit details
-
Copy full SHA for 4c085de - Browse repository at this point
Copy the full SHA 4c085deView commit details
Commits on Apr 26, 2024
-
compiler: fix memory leak (#1950)
The `test_compiler compiler_defines_for_extensions` test did not free all `malloc`'ed memory. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 46255db - Browse repository at this point
Copy the full SHA 46255dbView commit details
Commits on May 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for aa70c06 - Browse repository at this point
Copy the full SHA aa70c06View commit details
Commits on May 14, 2024
-
Added negative test commandNDRangeKernel (#1936)
According to description #1668
Configuration menu - View commit details
-
Copy full SHA for 5093ce5 - Browse repository at this point
Copy the full SHA 5093ce5View commit details -
Added negative tests for clCommandBarrierWithWaitListKHR (#1937)
According to description #1668
Configuration menu - View commit details
-
Copy full SHA for e6fec74 - Browse repository at this point
Copy the full SHA e6fec74View commit details
Commits on May 21, 2024
-
Corrections for printf test with floating point limits arguments (#1940)
According to work plan from issue #1058
Configuration menu - View commit details
-
Copy full SHA for 88a707d - Browse repository at this point
Copy the full SHA 88a707dView commit details -
Negative tests for commandCopyImage[ToBuffer]KHR (#1943)
According to description #1668
Configuration menu - View commit details
-
Copy full SHA for 9500c30 - Browse repository at this point
Copy the full SHA 9500c30View commit details -
Add negative test for test_svm size check (#1802)
Isuue #875 clarified that CL_INVALID_BUFFER_SIZE should be returned if clCreateBuffer is passed a pointer returned by clSVMAlloc as its host_ptr and the size of the buffer exceeds the size of the SVM allocation. Add a new negative test to ensure CL_INVALID_BUFFER_SIZE is returned when the size of buffer exceeds the size of the SVM allocation. Fixes #1701
Configuration menu - View commit details
-
Copy full SHA for 0353c0b - Browse repository at this point
Copy the full SHA 0353c0bView commit details -
Add support for cl_ext_image_raw10_raw12 testing on test_image_streams. Signed-off-by: John Kesapides <john.kesapides@arm.com>
Configuration menu - View commit details
-
Copy full SHA for fb39357 - Browse repository at this point
Copy the full SHA fb39357View commit details -
Add acquire/release commands where appropriate. This is related to 1886.
Configuration menu - View commit details
-
Copy full SHA for 4fceb78 - Browse repository at this point
Copy the full SHA 4fceb78View commit details -
Configuration menu - View commit details
-
Copy full SHA for b377b85 - Browse repository at this point
Copy the full SHA b377b85View commit details -
basic: workaround MSVC compiler bug with post-increment operator (#1939)
Prevent the compiler from optimizing away initialization loops
Configuration menu - View commit details
-
Copy full SHA for 5ce18c3 - Browse repository at this point
Copy the full SHA 5ce18c3View commit details -
Add cl_khr_kernel_clock tests (#1960)
Adds cl_khr_kernel_clock test. Also fixes failure in the compiler defines for extension compiler subtest when cl_khr_kernel_clock is supported.
Configuration menu - View commit details
-
Copy full SHA for cdf8d5e - Browse repository at this point
Copy the full SHA cdf8d5eView commit details -
test_common/harness/integer_ops_test_info.h is using std::vector but is not including the header. This is breaking on Google internal CI.
Configuration menu - View commit details
-
Copy full SHA for fe76832 - Browse repository at this point
Copy the full SHA fe76832View commit details
Commits on May 22, 2024
-
Negative tests clCommandSvmMem[cpy, Fill]KHR (#1956)
According to description #1668
Configuration menu - View commit details
-
Copy full SHA for d3e3bda - Browse repository at this point
Copy the full SHA d3e3bdaView commit details
Commits on May 28, 2024
-
Added negative tests for clCommandFill[Buffer, Image]KHR (#1944)
According to description #1668
Configuration menu - View commit details
-
Copy full SHA for d53d7bc - Browse repository at this point
Copy the full SHA d53d7bcView commit details -
Vulkan interop coverage (#1887)
Added Code changes for 1D, 1DList, 3D, 3DList and test cases.
Configuration menu - View commit details
-
Copy full SHA for 1433ffe - Browse repository at this point
Copy the full SHA 1433ffeView commit details -
Import OpenCL exported semaphore in Vulkan (#1898)
Except for SYNC_FD, current implementation doesn't import exported OpenCL semaphore in Vulkan and ends up doing signal and wait on essentially two unrelated semaphores (one created in OpenCL and one in Vulkan). Since OpenCL exports the semaphore, import that in Vulkan to perform signal/wait on the same underlying payload.
Configuration menu - View commit details
-
Copy full SHA for 6807e16 - Browse repository at this point
Copy the full SHA 6807e16View commit details
Commits on May 29, 2024
-
mem_host_flags: check returned pointer for NULL (#1924)
The specification states that `clEnqueueMapImage` and `clEnqueueMapBuffer` should return NULL on error. Ensure this is checked. This testing gap was caught by a compiler warning about `dataPtr` being written but not read. With this fix, there are no more Wunused-but-set-variable warnings in this test, so reenable the warning. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 1d3ad8d - Browse repository at this point
Copy the full SHA 1d3ad8dView commit details -
cl_khr_kernel_clock: fix builtin function names (#1968)
According to the [specification](https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_C.html#kernel-clock-functions), the work_group and sub_group variants have an `_` in them. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 75be6a3 - Browse repository at this point
Copy the full SHA 75be6a3View commit details
Commits on May 30, 2024
-
Escape subnormal values (#1953)
Currently we don't escape subnormal values when generating image data. In sampler read tests, we use `!=` to check the two values even when it is floating-point data, which requires the two values are bitwise equal. However, a sampler might flush subnormal values, causing the test case to fail. In this patch, when generating random image data, we escape subnormal values.
Configuration menu - View commit details
-
Copy full SHA for 556025b - Browse repository at this point
Copy the full SHA 556025bView commit details
Commits on Jun 4, 2024
-
relationals: fix out of bounds accesses in shuffle test (#1961)
The values in `src` are indices into an array in `get_order_string()`. Not initializing `src` resulted in out of bounds accesses there. It seems that when the out of bounds accesses happened, the result of `get_order_string()` was not actually used, so at least the test was not using random data. Fix the issue as it prevents a clean run of this test with e.g. AddressSanitizer. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for a130f3d - Browse repository at this point
Copy the full SHA a130f3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 806dd2f - Browse repository at this point
Copy the full SHA 806dd2fView commit details
Commits on Jun 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for d379b58 - Browse repository at this point
Copy the full SHA d379b58View commit details
Commits on Jun 18, 2024
-
Extended printf test with new strings cases (#1951)
According to work plan from issue #1058 Corrections to general test: -removed duplication of separate tests for each element of `PrintfTestType` vector, instead `doTest` procedure would iterate over vector related to specific `PrintfTestType` automaticaly -fixed procedure to assemble kernel source so it can accept only one parameter of the function ( eg. `printf("%%");` ) -incorporated important modifications from #1940 to avoid expected conflicts -warnings fixes, minor corrections, clang format Extension for string testing: -special symbols -nested symbols -all ascii characters -added new type of test `TYPE_FORMAT_STRING` to verify format string only (according to request from the issue)
Configuration menu - View commit details
-
Copy full SHA for 582fea5 - Browse repository at this point
Copy the full SHA 582fea5View commit details -
gl: enable cl_khr_fp16 for image write tests (#1974)
Co-authored-by: riteshv <riteshv@qti.qualcomm.com>
Configuration menu - View commit details
-
Copy full SHA for c8f91c5 - Browse repository at this point
Copy the full SHA c8f91c5View commit details -
Fixes for Image_from_buffer_alignment_negative when alignments are 1 (#…
…1971) The Image_from_buffer_alignment_negative test creates images with incorrect pitches by adding 1 and tests whether the image creation fails. Devices that return 1 for either of CL_IMAGE_REQUIREMENTS_ROW_PITCH_ALIGNMENT_EXT, CL_IMAGE_REQUIREMENTS_SLICE_PITCH_ALIGNMENT_EXT or CL_IMAGE_REQUIREMENTS_BASE_ADDRESS_ALIGNMENT_EXT will successfully create the image and therefore fail the test. This change allows to skip the image creation in this case as the error condition (pitch % pitch_alignment != 0) will not be triggered for these devices.
Configuration menu - View commit details
-
Copy full SHA for b3c89eb - Browse repository at this point
Copy the full SHA b3c89ebView commit details -
Add fp16 testing to conversions and bruteforce (#1975)
Merge the `fp16-staging` branch into `main`, adding fp16 (`half`) testing to the conversions and math bruteforce tests. --------- Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com> Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com> Signed-off-by: Guo, Yilong <yilong.guo@intel.com> Signed-off-by: John Kesapides <john.kesapides@arm.com> Co-authored-by: Marcin Hajder <marcin.hajder@gmail.com> Co-authored-by: Ewan Crawford <ewan@codeplay.com> Co-authored-by: Wawiorko, Grzegorz <grzegorz.wawiorko@intel.com> Co-authored-by: Sreelakshmi Haridas Maruthur <sharidas@quicinc.com> Co-authored-by: Harald van Dijk <harald@gigawatt.nl> Co-authored-by: Ben Ashbaugh <ben.ashbaugh@intel.com> Co-authored-by: Haonan Yang <haonan.yang@intel.com> Co-authored-by: Ahmed Hesham <117350656+ahesham-arm@users.noreply.github.com> Co-authored-by: niranjanjoshi121 <43807392+niranjanjoshi121@users.noreply.github.com> Co-authored-by: Wenwan Xing <wenwan.xing@intel.com> Co-authored-by: Yilong Guo <yilong.guo@intel.com> Co-authored-by: Romaric Jodin <89833130+rjodinchr@users.noreply.github.com> Co-authored-by: joshqti <127994991+joshqti@users.noreply.github.com> Co-authored-by: Pekka Jääskeläinen <pekka.jaaskelainen@tuni.fi> Co-authored-by: imilenkovic00 <155085410+imilenkovic00@users.noreply.github.com> Co-authored-by: John Kesapides <46718829+JohnKesapidesARM@users.noreply.github.com> Co-authored-by: Aharon Abramson <aharon.abramson@mobileye.com>
Configuration menu - View commit details
-
Copy full SHA for b6941b6 - Browse repository at this point
Copy the full SHA b6941b6View commit details -
cl_khr_kernel_clock: use create_single_kernel_helper (#1978)
`create_single_kernel_helper` invokes `clBuildProgram` and sets `-cl-std` to the latest version supported by the context. The vast majority of tests are using `create_single_kernel_helper` instead of the `..._create_program` variant, so use the former for the sake of consistency. --------- Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 2b26643 - Browse repository at this point
Copy the full SHA 2b26643View commit details
Commits on Jun 25, 2024
-
Negative test for CL_INVALID_QUEUE_PROPERTIES (#1935)
Test that verifies `CL_INVALID_QUEUE_PROPERTIES` is returned from `clCreateCommandQueue`, `clCreateCommandQueueWithProperties`, and `clCreateCommandQueueWithPropertiesKHR` to match spec wording > CL_INVALID_QUEUE_PROPERTIES if values specified in properties are valid but are not supported by the device.
Configuration menu - View commit details
-
Copy full SHA for 8e6c519 - Browse repository at this point
Copy the full SHA 8e6c519View commit details -
Add special test for generic address space atomics (#1959)
The atomic operations are tested with generic pointers but in a way where the compiler can infer the original pointer address space. This commit adds tests specifically for the case where the compiler cannot make inferences. Test that the correct address is used with atomics when the address is group variant and invariant.
Configuration menu - View commit details
-
Copy full SHA for e2c7e90 - Browse repository at this point
Copy the full SHA e2c7e90View commit details -
Disable implicit conversion of copysign arguments. (#1970)
In binary_float.cpp, copysign is special cased. All the reference functions there take double arguments, except for reference_copysign which takes float. This commit copies that approach to special case copysign in binary_double.cpp as well: all the reference functions there take long double arguments, but this commit changes reference_copysignl to take double. The rationale for this in binary_float applies equally to binary_double: conversions of NAN are not required to preserve its sign bit. On architectures where conversion of NAN resets the sign bit, copysign fp64 would return incorrect reference results.
Configuration menu - View commit details
-
Copy full SHA for 80a02cb - Browse repository at this point
Copy the full SHA 80a02cbView commit details -
Bump clang-format version to 14 (#1983)
Default version coming with Ubuntu 22.04 that the CI now uses.
Configuration menu - View commit details
-
Copy full SHA for a281046 - Browse repository at this point
Copy the full SHA a281046View commit details -
Fixed incorrect usage of clGetDeviceIDs num_devices (#1952)
clGetDeviceIDs 'num_devices' output parameter is described as: > num_devices returns the number of OpenCL devices available that match device_type. but the _test_events out_of_order_event_waitlist_multi_queue_multi_device_ test expects that after calling: `clGetDeviceIDs(platform, CL_DEVICE_TYPE_ALL, 2, two_device_ids, &number_returned);` the content of number_returned needs to be 2, but it should be valid to return a larger number. --------- Co-authored-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
Configuration menu - View commit details
-
Copy full SHA for ac69311 - Browse repository at this point
Copy the full SHA ac69311View commit details -
spirv_new: fix test_decorate. (#1980)
test_decorate was checking for half-precision NAN incorrectly, calling cl_half_from_float where cl_half_to_float was intended, causing a wrong expected result. test_decorate was also printing the expected and actual results reversed, printing "got -1, want 0", when our implementation already returned 0.
Configuration menu - View commit details
-
Copy full SHA for c7b682f - Browse repository at this point
Copy the full SHA c7b682fView commit details
Commits on Jun 27, 2024
-
[NFC] math_brute_force: drop unneeded gotos (#1843)
Simplify code by returning directly instead of using goto statements. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for fcbccab - Browse repository at this point
Copy the full SHA fcbccabView commit details
Commits on Jul 2, 2024
-
Added new cl_khr_semaphore tests to verify clEnqueueWaitSemaphoresKHR…
Configuration menu - View commit details
-
Copy full SHA for 340b7c9 - Browse repository at this point
Copy the full SHA 340b7c9View commit details -
spirv_new: fix test_decorate to use the device's default rounding (#1987
Configuration menu - View commit details
-
Copy full SHA for 1cd0266 - Browse repository at this point
Copy the full SHA 1cd0266View commit details -
Extend printf tests with more %% corner cases (#1986)
We've had a couple of bugs inside mesa/rusticl processing %% correctly. I've added those cases locally to make sure all corner cases are properly handled.
Configuration menu - View commit details
-
Copy full SHA for 89923f8 - Browse repository at this point
Copy the full SHA 89923f8View commit details -
fix bugs in negative command_buffer tests (#1969)
- when calling command buffer APIs, test with `command_queue != NULL` should return `CL_INVALID_VALUE` only if the device doesn't support `cl_khr_command_buffer_multi_device` (added `Skip`) - some tests enqueued commands with multiple invalid arguments, e.g. `clCommandCopyImageToBufferKHR` with two images and invalid sync points. AFAIK the order of argument checking is not defined, so implementation can return any valid error value for such API calls, but the tests assumed only one particular error would be returned. Fix the API calls to be unambiguous.
Configuration menu - View commit details
-
Copy full SHA for 769984b - Browse repository at this point
Copy the full SHA 769984bView commit details -
Fix build errors related with variable defined array length and gl te… (
#1957) …sts logged error
Configuration menu - View commit details
-
Copy full SHA for 02471c8 - Browse repository at this point
Copy the full SHA 02471c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07ddc66 - Browse repository at this point
Copy the full SHA 07ddc66View commit details -
math_brute_force: update README.txt for half testing (#1985)
Half precision math functions are fully tested as of #1975. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 269e818 - Browse repository at this point
Copy the full SHA 269e818View commit details -
[NFC] api: remove duplicate and unused macros (#1949)
The removed macros were never used. Use the more common `ARRAY_SIZE` macro instead of defining an identical `NELEMS` macro. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 2d80286 - Browse repository at this point
Copy the full SHA 2d80286View commit details -
image_streams: fix -Wformat warnings (#1948)
The main sources of warnings were: * Printing of a `size_t` which requires the `%zu` specifier. * Printing of 64-bit values which is now done using the `PRI*64` macros to ensure portability across 32 and 64-bit builds. * Calling log_error with a format string of `"%f %f %f %f"` but specifying only three arguments. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for f775377 - Browse repository at this point
Copy the full SHA f775377View commit details -
add testing for OpExpectKHR with boolean sources (#1904)
Adds a missing test case for OpExpectKHR with boolean sources.
Configuration menu - View commit details
-
Copy full SHA for 38ae617 - Browse repository at this point
Copy the full SHA 38ae617View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6b4d57d - Browse repository at this point
Copy the full SHA 6b4d57dView commit details
Commits on Jul 8, 2024
-
computeinfo: fix memory leak (#2002)
Even on the common code path (i.e., no error paths taken), test_computeinfo failed to release its allocated memory, preventing a clean run with LeakSanitizer. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 89cd966 - Browse repository at this point
Copy the full SHA 89cd966View commit details
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c1af7c3 - Browse repository at this point
Copy the full SHA c1af7c3View commit details -
Extended printf test with new mixed format cases (#1988)
According to work plan from issue #1058 Added new case `TYPE_MIXED_FORMAT_RANDOM` which focus on three factors: -data before conversion flags - this is randomly generated ascii string -randomly generated conversion flags - integer or floating point, for each flag specific argument is generated -data after conversion flags - this is randomly generated ascii string Moreover, due to fact in case of `TYPE_MIXED_FORMAT_RANDOM` test is generated on the fly, logging of negative result was extended.
Configuration menu - View commit details
-
Copy full SHA for 8cd2b7d - Browse repository at this point
Copy the full SHA 8cd2b7dView commit details -
Deduplicate test_basic image_array_copy (#1538)
Merge image_array_copy, image_array_copy3d as they share a lot of common code. Signed-off-by: John Kesapides <john.kesapides@arm.com> Signed-off-by: John Kesapides <john.kesapides@arm.com>
Configuration menu - View commit details
-
Copy full SHA for cb9b8db - Browse repository at this point
Copy the full SHA cb9b8dbView commit details -
Use CTS type wrappers for test_basic test_if. (#1540)
Signed-off-by: John Kesapides [john.kesapides@arm.com](mailto:john.kesapides@arm.com)
Configuration menu - View commit details
-
Copy full SHA for cabdf6a - Browse repository at this point
Copy the full SHA cabdf6aView commit details -
Deduplicate test_imagedim (#1546)
Signed-off-by: John Kesapides <john.kesapides@arm.com> Signed-off-by: John Kesapides <john.kesapides@arm.com>
Configuration menu - View commit details
-
Copy full SHA for dd029ca - Browse repository at this point
Copy the full SHA dd029caView commit details -
Drop linking Vulkan directly (#2000)
The `vulkan-wrapper` helper library's purpose is to eliminate the need to link targets directly to Vulkan, and load it dynamically instead at runtime, using `dlopen` and `LoadLibrary`. Remove the direct linking of the Vulkan library from targets that link to `vulkan-wrapper`. Fixes #1999 Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 47546a5 - Browse repository at this point
Copy the full SHA 47546a5View commit details -
Use the
--parallel
build option in CI workflows (#2004)Instead of selecting an arbitrary number for the number of parallel build jobs, use CMake's `--parallel` option instead. Option was introduced in version 3.12, GitHub runners currently use CMake version 3.29.6 so this is supported. Fixes #2003 Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 1858922 - Browse repository at this point
Copy the full SHA 1858922View commit details
Commits on Jul 11, 2024
-
[NFC] math_brute_force: reformat function list manually (#2008)
clang-format has already been disabled here. Make the function list a bit easier to read. Make the currently commented out functions stand out better on a line of their own. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 6d60301 - Browse repository at this point
Copy the full SHA 6d60301View commit details
Commits on Jul 12, 2024
-
printf: add missing cstdint include (#2011)
Since GCC 13 some headers are no longer included transitively through C++ Standard Library headers. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 881560a - Browse repository at this point
Copy the full SHA 881560aView commit details
Commits on Jul 16, 2024
-
Added new cl_khr_semaphore tests to verify clReleaseSemaphoreKHR/clRe…
Configuration menu - View commit details
-
Copy full SHA for 7b0f4ee - Browse repository at this point
Copy the full SHA 7b0f4eeView commit details -
computeinfo: add CL_DEVICE_HALF_FP_CONFIG (#2001)
The computeinfo test already checks that the cl_khr_fp16 extension is available before querying `CL_DEVICE_HALF_FP_CONFIG`, but never actually made the `CL_DEVICE_HALF_FP_CONFIG` query. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 8558eb8 - Browse repository at this point
Copy the full SHA 8558eb8View commit details -
math_brute_force: remove spurious tan skip check (#1992)
The `skipTestingRelaxed` check suffers the following problems: - The use of `skipTestingRelaxed` in the `if` seems reversed: when skipping correctness testing using the `-l` command line option, this variable causes correctness testing to be run for relaxed-mode `tan` regardless. - Accuracy testing should only be skipped for derived `tan` implementations. Non-derived `tan` implementations must still be tested for accuracy, so the condition for setting the `skipTestingRelaxed` variable is incomplete. - It is unclear why only `tan` is conditionalized here. There are other functions such as `tanpi` for which one would expect identical behaviour. The actual skipping of accuracy checks for derived implementations happens in `Test()`, so just remove `skipTestingRelaxed` as it does not seem to add any value. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 39fa6e6 - Browse repository at this point
Copy the full SHA 39fa6e6View commit details -
Use sccache on all CI platforms (#2014)
MSVC on Windows was previously omitted from the list of CI platforms that use sccache. Unify the CMAKE_CACHE_OPTIONS used for all CI platforms. In the case of a 100% cache hit, this cuts down the average checks time from 8 minutes to 4 minutes, example: https://github.com/ahesham-arm/OpenCL-CTS/actions/runs/9896449792
Configuration menu - View commit details
-
Copy full SHA for 070052c - Browse repository at this point
Copy the full SHA 070052cView commit details
Commits on Jul 18, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5b5e43e - Browse repository at this point
Copy the full SHA 5b5e43eView commit details
Commits on Jul 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0be82dc - Browse repository at this point
Copy the full SHA 0be82dcView commit details -
[NFC] Remove config.hpp (#2020)
The defines inside this header were not used anywhere. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 7088415 - Browse repository at this point
Copy the full SHA 7088415View commit details
Commits on Jul 29, 2024
-
Remove outdated readme-spir-v-binaries.txt (#2026)
Completely outdated. Confuses people. Signed-off-by: Kevin Petit <kevin.petit@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 284f757 - Browse repository at this point
Copy the full SHA 284f757View commit details
Commits on Aug 6, 2024
-
Extended printf test to support more vector cases (#2019)
according to work plan for issue #1058
Configuration menu - View commit details
-
Copy full SHA for 19cb042 - Browse repository at this point
Copy the full SHA 19cb042View commit details -
Added new tests for CL_MUTABLE_DISPATCH_ASSERT_NO_ADDITIONAL_WORK_GRO…
Configuration menu - View commit details
-
Copy full SHA for 89a720d - Browse repository at this point
Copy the full SHA 89a720dView commit details -
conversions: fix ZeroNanToIntCases from #1975 (#2030)
The handling of NaN values in the templated function was incorrect due to improper initialization of the input data source. Specifically, the function ZeroNanToIntCases used a global pointer gIn, which was not correctly set or did not point to the same data as the local input pointer s used in the non-templated implementation. to solve the issue I updated the templated function ZeroNanToIntCases to take an additional parameter for the input data source. and then passed the correct input data (s) to the templated function during its invocation. Co-authored-by: Banan Ashkar <banan.ashkar@mobileye.com>
Configuration menu - View commit details
-
Copy full SHA for 8974d74 - Browse repository at this point
Copy the full SHA 8974d74View commit details -
math_brute_force: skip all enqueues in -l mode (#1993)
The math_brute_force test has a link-check-only mode to quickly test if all math functions are present. In link-check-only mode, most tests return immediately after kernel compilation, but some tests also run the kernel and read back the result data before returning. Running the kernels takes a lot more time, defeating the purpose of the `-l` mode. Break out at the start of the main `for` loops in link-check-only mode instead of returning directly, so that each test can still log its trailing message (in most cases just a `\n`). Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 5be093e - Browse repository at this point
Copy the full SHA 5be093eView commit details -
Unduplicate kernel_read_write image tests (read) (#1552)
The kernel_read_write tests have a lot of duplicate code. These are the next steps to reducing the duplication, by using the functions in test_common.cpp as common for 1D, 1D array and 2D array. --------- Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com> Co-authored-by: Ahmed Hesham <117350656+ahesham-arm@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1384862 - Browse repository at this point
Copy the full SHA 1384862View commit details -
math_brute_force: only test correctly rounded divide/sqrt for fp32 (#…
…1997) Skip the correctly rounded divide (divide_cr) and sqrt (sqrt_cr) tests for fp16 and fp64. The corresponding build option to enable correctly rounded divide and sqrt is named `-cl-fp32-correctly-rounded-divide-sqrt` and the description refers only to "single precision floating-point", so this option should not apply to fp16 or fp64. The specification states that fp16 and fp64 divide and sqrt must be correctly rounded for the full profile, without needing any additional build options. This is already tested by the regular divide and sqrt tests. For the embedded profile the ULP requirement is non-zero, but there is no build option to request a correctly rounded implementation anyway. Fixes #1901 . Relates to #1996 . Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 1a9d418 - Browse repository at this point
Copy the full SHA 1a9d418View commit details -
Add clSetCommandQueueProperty test (#1182)
Add test to check that clSetCommandQueueProperty successfully changes command queue properties. Fixes #904 Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com> Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 995e465 - Browse repository at this point
Copy the full SHA 995e465View commit details -
Limit buffers sizes to leave some memory for the platform (#1172)
Some conformance tests use directly the size returned by the runtime for max memory size to allocate buffers. This doesn't leave enough memory for the system to run the tests.
Configuration menu - View commit details
-
Copy full SHA for f473546 - Browse repository at this point
Copy the full SHA f473546View commit details -
Fix issues in
test_external_semaphores_cross_queues_io2
(#2036)1. Fix memory leak by making `context2` use the context wrapper. 2. Create two separate events to associate with the two calls to `clEnqueueSignalSemaphoresKHR()`, as events cannot be reused. Also delete the unused helper function `semaphore_external_cross_queue_helper()` (which was a duplicate of `external_semaphore_cross_queue_helper()` anyway).
Configuration menu - View commit details
-
Copy full SHA for 3c81548 - Browse repository at this point
Copy the full SHA 3c81548View commit details -
Added new cl_khr_semaphore tests to verify clCreateSemaphoreWithPrope…
Configuration menu - View commit details
-
Copy full SHA for d1434ae - Browse repository at this point
Copy the full SHA d1434aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a406b34 - Browse repository at this point
Copy the full SHA a406b34View commit details
Commits on Aug 13, 2024
-
math_brute_force: stop relying on volatile for IsTininessDetectedBefo…
…reRounding (#2038) This makes it literally impossible for drivers to constant fold the IsTininessDetectedBeforeRounding kernel. Sure, drivers might have should respect volatile here, but I'm not convinced this is actually required by the spec in a very strict sense, because here there are no side-effects possible in the first place. And as far as I know, constant folding is allowed to give different results than an actual GPU calculation would. In any case, passing the constants via kernel arguments makes this detection more reliable and one doesn't have to wonder why the fma test is failing. Side note: this was the last bug (known as of today) I had to fix in order being able to make a CL CTS submission for Apple Silicon devices.
Configuration menu - View commit details
-
Copy full SHA for 21ee05e - Browse repository at this point
Copy the full SHA 21ee05eView commit details -
Added few missing format cases for zero and blank space padding (#2016)
according to work plan for issue #1058
Configuration menu - View commit details
-
Copy full SHA for aa49f3b - Browse repository at this point
Copy the full SHA aa49f3bView commit details -
Fixes for basic explicit_s2v and commonfns degrees for cl_half (#2024)
Basic explicit_s2v: The verification step was always using round to even when converting a float to half even for round to zero cores. Commonfns degrees: The verification step was only taking into account infinities and not values that over/underflow. This resulted in an incorrect error calculation. E.g: double cpu_result = 175668.85998711039; cl_half gpu_result = 31743; // this is 65504 when converting to float, we overflowed. float error = (cpu_result - gpu_result) * some_factor; The fix adds the check if( (cl_half) reference == test ) before calculating the error.
Configuration menu - View commit details
-
Copy full SHA for b4c3bf2 - Browse repository at this point
Copy the full SHA b4c3bf2View commit details -
[basic] Enable image format aware scanline comparison. (#2042)
Use format aware memory comparison instead of memcmp.
Configuration menu - View commit details
-
Copy full SHA for b8981f5 - Browse repository at this point
Copy the full SHA b8981f5View commit details
Commits on Aug 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 746544a - Browse repository at this point
Copy the full SHA 746544aView commit details -
Added two tests not calling event calback upon error status (#2028)
#1900 Tested on POCL, callback is not called.
Configuration menu - View commit details
-
Copy full SHA for 6cbe8ca - Browse repository at this point
Copy the full SHA 6cbe8caView commit details
Commits on Aug 27, 2024
-
Added printf test for double type cases (#2022)
according to work plan for issue #1058
Configuration menu - View commit details
-
Copy full SHA for 0a00a1f - Browse repository at this point
Copy the full SHA 0a00a1fView commit details
Commits on Aug 29, 2024
-
printf: add missing vector length modifiers (#2044)
The length modifier is required with a vector specifier. Fixes #2039 Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for c0db608 - Browse repository at this point
Copy the full SHA c0db608View commit details -
[NFC] Use std::vector to store large size array. (#2060)
windows default stack size is 1M, BUFFER_SIZE is 2 * 1024 * 1024, use array with BUFFER_SIZE elemets on stack can exceed available stack size limits.
Configuration menu - View commit details
-
Copy full SHA for a716218 - Browse repository at this point
Copy the full SHA a716218View commit details
Commits on Sep 2, 2024
-
api: fix -Wformat warnings (#2025)
The main sources of warnings were: * Printing of a `size_t` which requires the `%zu` specifier. * Printing of `cl_long`/`cl_ulong` which is now done using the `PRI*64` macros to ensure portability across 32 and 64-bit builds. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 90f523e - Browse repository at this point
Copy the full SHA 90f523eView commit details
Commits on Sep 3, 2024
-
Fix external semaphore test when exportability is not supported (#2045)
An implementation may not support exportable semaphore, subtests available in cl_khr_external_semaphore assumes support for exportable semaphore, resulting in failure on such implementation. Allow implementations to use importable semaphore in such cases.
Configuration menu - View commit details
-
Copy full SHA for 7131f87 - Browse repository at this point
Copy the full SHA 7131f87View commit details -
Modernization of tests from test_semaphores.cpp to align with new Sem…
…aphoreTestBase infrastructure (#2029)
Configuration menu - View commit details
-
Copy full SHA for eb7a30a - Browse repository at this point
Copy the full SHA eb7a30aView commit details -
[NFC] math_brute_force: move TestInfoBase to common.h (#2059)
The various forms of `TestInfoBase` have many members in common, so avoid duplicating the struct definition and move it to `common.h`. Provide a description and initializer for every struct member, and drop initializations done with `memset`. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 9116bb7 - Browse repository at this point
Copy the full SHA 9116bb7View commit details
Commits on Sep 6, 2024
-
Fix Windows build with MSVC 19.41 (#2065)
Include `cmath` instead of `math.h` in C++ mode under MSVC, to avoid build errors inside the header. Ideally we would not condition this on `_MSC_VER`, but issue 1833 currently prevents doing so. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for ce68069 - Browse repository at this point
Copy the full SHA ce68069View commit details -
Array based clUpdateMutableCommandsKHR changes (#1984)
CTS changes to reflect the spec changes merged in KhronosGroup/OpenCL-Docs#1045 and requires header updates from KhronosGroup/OpenCL-Headers#245 Tested using OCK implementation from uxlfoundation/oneapi-construction-kit#501
Configuration menu - View commit details
-
Copy full SHA for 0bdc5d0 - Browse repository at this point
Copy the full SHA 0bdc5d0View commit details -
Add properties parameter to all command-buffer commands (update) (#2072)
This is an update to #2050, with updates from the main branch. --------- Co-authored-by: Ewan Crawford <ewan@codeplay.com>
Configuration menu - View commit details
-
Copy full SHA for b57f90e - Browse repository at this point
Copy the full SHA b57f90eView commit details -
cl_khr_mutable_dispatch: fix -Wformat warnings (#2071)
Printing of a `size_t` requires the `%zu` specifier. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for c32a767 - Browse repository at this point
Copy the full SHA c32a767View commit details
Commits on Sep 12, 2024
-
Extend
IGetErrorString()
(#2080)Add cases for `CL_INCOMPATIBLE_COMMAND_QUEUE_KHR`, `CL_INVALID_COMMAND_BUFFER_KHR` and `CL_INVALID_SYNC_POINT_WAIT_LIST_KHR`. Signed-off-by: Gorazd Sumkovski <gorazd.sumkovski@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 21b0a09 - Browse repository at this point
Copy the full SHA 21b0a09View commit details
Commits on Sep 16, 2024
-
compile Vulkan SPIR-V shaders in CMAKE_CURRENT_BINARY_DIR (#2055)
fixes #2040 * Compiles the Vulkan SPIR-V files in a directory based off of CMAKE_CURRENT_BINARY_DIR. * Changes the search path for the Vulkan SPIR-V files to this directory rather than a semi-arbitrary set of directories.
Configuration menu - View commit details
-
Copy full SHA for a395174 - Browse repository at this point
Copy the full SHA a395174View commit details -
Extend testing of CL_UNORM_INT_101010_2 (#2031)
All existing tests in `test_image_streams`, that are capable of testing image formats using the `CL_UNORM_INT_101010_2` data type, now do so.
Configuration menu - View commit details
-
Copy full SHA for bcfd8f8 - Browse repository at this point
Copy the full SHA bcfd8f8View commit details -
Update test_event_dependencies.cpp (#2049)
In test_event_enqueue_wait_for_events_run_test: * Decrease TEST_COUNT to 10 * Add clFinish to queues
Configuration menu - View commit details
-
Copy full SHA for a773a37 - Browse repository at this point
Copy the full SHA a773a37View commit details -
[NFC] math_brute_force: add type argument to getAllowedUlpError (#2017)
Add a type argument so that in the future we can request the ULP requirement for fp16 and fp64 types through `getAllowedUlpError` too. Contributes to #867 Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for c083a87 - Browse repository at this point
Copy the full SHA c083a87View commit details
Commits on Sep 17, 2024
-
fix a few array-based mutable command buffer issues (#2074)
fixes a few minor issues introduced by #1984. edit: Tested with the updated command buffer emulation layer on a device that supports out-of-order queues and SVM and all of the `test_cl_khr_mutable_dispatch` tests pass.
Configuration menu - View commit details
-
Copy full SHA for dd2117f - Browse repository at this point
Copy the full SHA dd2117fView commit details
Commits on Sep 19, 2024
-
Specify precision in the format flag for float4 hexadecimal output (#…
…2064) This will ensure consistent output on any conforming implementation. Note that the specification does not define the output style when precision is missing. --------- Signed-off-by: Cui, Dele <dele.cui@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 9f88b0b - Browse repository at this point
Copy the full SHA 9f88b0bView commit details -
[NFC] math_brute_force: remove warning options (#2061)
All of these are already set in the top-level `CMakeLists.txt` nowadays, so no need to repeat them in the test's own `CMakeLists.txt`. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 97045f8 - Browse repository at this point
Copy the full SHA 97045f8View commit details
Commits on Sep 20, 2024
-
Add flag to track wether glut has been initialized (#2023)
glutInit double called in CTS CLGL test case code, which will lead to an error: freeglut (./test_gl): illegal glutInit() reinitialization attempt root cause is in: test_conformance/gl/main.cpp:343 if (glEnv->Init(&argc, (char **)argv, CL_TRUE)) the glEnv->Init has already called in same file line:260, the function glutInit in glEnv->Init can not be called twice, then a error will occur although all the gl / CLGL cases are passed. Then in the full quick CTS running it will appear: (12-Jul 03:54:01) BEGIN OpenCL-GL Sharing : PASSED sub-test. PASSED 23 of 23 tests. (12-Jul 04:01:48) FAILED OpenCL-GL Sharing : (467s, test 34/53) Although all the gl/CLGL cases are passed, but this group test is judged to failed. This issue already been found in #1885 And fixed partly by: 02471c8 But I found in setup_osx.cpp, the glutInit still has double init issue, I add the same fix like previous fix, can you please help to review? Signed-off-by: Honglei Huang <Honglei1.Huang@amd.com> Co-authored-by: Honglei Huang <Honglei1.Huang@amd.com>
Configuration menu - View commit details
-
Copy full SHA for 2d077cf - Browse repository at this point
Copy the full SHA 2d077cfView commit details
Commits on Sep 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8c647c1 - Browse repository at this point
Copy the full SHA 8c647c1View commit details -
Added printf test for long type cases (#2037)
according to work plan for issue #1058
Configuration menu - View commit details
-
Copy full SHA for 661a7b0 - Browse repository at this point
Copy the full SHA 661a7b0View commit details -
Skip testing mipmaps if extension is not available (#2085)
'./test_image_streams test_mipmaps CL_FILTER_NEAREST' already skips many tests, but doesn't do so for cl_ext_image_raw10_raw12, causing it to fail. Add a check similar to how it is done in the other tests already. On a device which doesn't support mipmap'd access: W/o fix ``` ./test_image_streams test_mipmaps CL_FILTER_NEAREST ... 1Darray passed 2Darray... ----------------------------------------------------- This device does not support cl_khr_mipmap_image. Skipping mipmapped image test. ----------------------------------------------------- ----------------------------------------------------- This device does not support cl_khr_mipmap_image. Skipping mipmapped image test. ----------------------------------------------------- 2Darray passed cl_image_requirements_size_ext_negative... ... image_from_buffer_read_positive passed cl_ext_image_raw10_raw12... ---- Supported 2D read formats for this device for cl_ext_image_raw10_raw12---- CL_R CL_UNSIGNED_INT_RAW10_EXT 0 CL_R CL_UNSIGNED_INT_RAW12_EXT 0 ------------------------------------------- read_image (normalized float coords, uint results) ***************************** [CL_R CL_UNSIGNED_INT_RAW10_EXT 1] - CL_FILTER_NEAREST - CL_ADDRESS_CLAMP_TO_EDGE - NORMALIZED ERROR: clBuildProgram failed! (CL_BUILD_PROGRAM_FAILURE from <>/OpenCL-CTS/test_common/harness/kernelHelpers.cpp:844) Build options: -cl-std=CL3.0 Original source is: ------------ #pragma OPENCL EXTENSION cl_khr_mipmap_image: enable __kernel void sample_kernel( read_only image2d_t input, sampler_t imageSampler, __global float *xOffsets, __global float *yOffsets, __global uint4 *results , float lod) { int tidX = get_global_id(0), tidY = get_global_id(1); unsigned int lod_int = (unsigned int) lod; int width_lod = (get_image_width(input) >> lod_int) ?(get_image_width(input) >> lod_int):1 ; int offset = tidY*width_lod + tidX; float2 coords = (float2)( (float)( xOffsets[offset] ), (float)( yOffsets[offset] ) ); results[offset] = read_imageui( input, imageSampler, coords , lod); }Build not successful for device <>, status: CL_BUILD_ERROR Build log for device <> is: ------------ <source>:1:26: warning: unsupported OpenCL extension 'cl_khr_mipmap_image' - ignoring #pragma OPENCL EXTENSION cl_khr_mipmap_image: enable ^ <source>:9:22: error: no matching function for call to 'read_imageui' results[offset] = read_imageui( input, imageSampler, coords , lod); ^~~~~~~~~~~~ error: Compiler frontend failed (error code <unknown>) ``` With fix: ``` ./test_image_streams test_mipmaps CL_FILTER_NEAREST .... image_from_buffer_read_positive... image_from_buffer_read_positive passed cl_ext_image_raw10_raw12... ---- Supported 2D read formats for this device for cl_ext_image_raw10_raw12---- CL_R CL_UNSIGNED_INT_RAW10_EXT 0 CL_R CL_UNSIGNED_INT_RAW12_EXT 0 ------------------------------------------- ----------------------------------------------------- This device does not support cl_khr_mipmap_image. Skipping mipmapped image test. ----------------------------------------------------- cl_ext_image_raw10_raw12 passed PASSED sub-test. PASSED 18 of 18 tests. ```
Configuration menu - View commit details
-
Copy full SHA for 1cede6d - Browse repository at this point
Copy the full SHA 1cede6dView commit details -
Fix 1D buffer image tests (#2073)
Buffer size needs to be greater than or equal the image row pitch which was not the case.
Configuration menu - View commit details
-
Copy full SHA for 0c7fbc4 - Browse repository at this point
Copy the full SHA 0c7fbc4View commit details -
Fix vulkan subtest for diffCtx and platform/device info (#2046)
Fixes: 1. Multi import diff ctx subtest which acquires/releases external memory via queue not associated with the context in which memory was imported. 2. Platform/Device info subtests to handle different platforms and availability of the query.
Configuration menu - View commit details
-
Copy full SHA for e865c1e - Browse repository at this point
Copy the full SHA e865c1eView commit details -
Use CTS type wrappers for test_global_linear_id. (#1545)
Signed-off-by: John Kesapides <john.kesapides@arm.com> --------- Signed-off-by: John Kesapides <john.kesapides@arm.com>
Configuration menu - View commit details
-
Copy full SHA for cd74e02 - Browse repository at this point
Copy the full SHA cd74e02View commit details
Commits on Oct 1, 2024
-
Correction for printing long type variables in 32-bit system (#2094)
Due to change request from #2037
Configuration menu - View commit details
-
Copy full SHA for 0395a1e - Browse repository at this point
Copy the full SHA 0395a1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bcd5478 - Browse repository at this point
Copy the full SHA bcd5478View commit details -
Queue profiling and Device timebase equality test (#1150)
Adds test to confirm that the timestamp returned from clGetEventProfilingInfo for an event on a device and a device timestamp queried from the same device are in the same timebase. Fixes #753 Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com> --------- Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 7e859cc - Browse repository at this point
Copy the full SHA 7e859ccView commit details -
Math bruteforce test - enable erf/erfc functions (#1289)
It was disabled because lack of reference implementation. However the reference implementation exists. Then no reason to start testing these functions.
Configuration menu - View commit details
-
Copy full SHA for 97cf4c7 - Browse repository at this point
Copy the full SHA 97cf4c7View commit details -
fix generic_address_space, command_buffer_event_sync, test_compiler a…
…nd images/test_1D_buffer (#2062) fixes several issues: * `generic_address_space` test: add check for program scope variables. The test uses both generic AS and program-scope variables, however it only checked the generic-AS presence in `clGetDeviceInfo`. * `compiler/test_compiler_defines_for_extensions.cpp`: add `cl_khr_command_buffer_multi_device` to the list of recognized extensions * `command_buffer_event_sync.cpp`: add delays for testing `clSetEventCallback` - according to specification, these can be executed asynchronously (in a separate thread) by the OpenCL implementation, hence the event callback is not quaranteed to be called before `clFinish()` returns. Existing test `events/test_callbacks.cpp` also waits for callback with loops of usleep. * `images/kernel_image_methods/test_1D_buffer.cpp`: fix allocation size being too small for the 1D buffer backing the image --------- Co-authored-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 2be73b2 - Browse repository at this point
Copy the full SHA 2be73b2View commit details -
bruteforce: Fix comparions of unsigned shorts with 0.0f (#2095)
Comparing test (of type cl_half) with 0.0f is incorrect because cl_half is a typedef of uint16_t (or unsigned short in c) Co-authored-by: Tejswini Nimburkar <tnimburk@qti.qualcomm.com>
Configuration menu - View commit details
-
Copy full SHA for 3a55025 - Browse repository at this point
Copy the full SHA 3a55025View commit details -
vulkan: Use Vulkan 1.1 (#2076)
Increase Vulkan version to 1.1, which is required to support vkGetBufferMemoryRequirements2.
Configuration menu - View commit details
-
Copy full SHA for 7cadf60 - Browse repository at this point
Copy the full SHA 7cadf60View commit details
Commits on Oct 3, 2024
-
Fix printing in test_api_min_max (#2102)
before: Filling constant buffer with 553805440 cl_ints (-2079745536 bytes). after: Filling constant buffer with 553805440 cl_ints (2215221760 bytes).
Configuration menu - View commit details
-
Copy full SHA for 9cf4394 - Browse repository at this point
Copy the full SHA 9cf4394View commit details
Commits on Oct 8, 2024
-
Extended printf test to verify length sub-specifiers (#2083)
According to work plan for issue #1058
Configuration menu - View commit details
-
Copy full SHA for d339fd4 - Browse repository at this point
Copy the full SHA d339fd4View commit details -
bruteforce: Fix retry logic for cases with subnormals (#2091)
Replace the occurrences of 0.0f == test' with 0.0f == HTF(test)'. The types of 0.0f and test are not the same, so the equality comparison will get undesired result when the test represents a -0.0h (i.e., test is 32768=0x8000). In this situation, 0.0f == test will be false, but 0.0f == HTF(test) will be true. Revise each if-statement to match the OpenCL s7.5.3 Item 4, specifically modify to check that the result is subnormal instead of checking that it is zero. "If the result of 3. is a sub-normal before rounding, the result may be flushed to zero" Co-authored-by: tnimburk <tnimburk@qti.qualcomm.com>
Configuration menu - View commit details
-
Copy full SHA for 7d86714 - Browse repository at this point
Copy the full SHA 7d86714View commit details -
Re-enabling narrowing errors (#1144)
Fixes narrowing conversion build errors in test_common Removing disable of narrowing errors in main CMakeLists.txt and moving it down to specific test_conformance suite's CMakeLists.txt where there are many more build errors revealed from this fix. Fixes a few simple issues under test_conformance in the process. Contributes #787 Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com> --------- Signed-off-by: Ellen Norris-Thompson <ellen.norris-thompson@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 617e7cb - Browse repository at this point
Copy the full SHA 617e7cbView commit details -
a few fixes (thread safety & cl_khr_command_buffer UB) (#1840)
some fixes we've been carrying in our CTS fork: * fix UB in `command_buffer_event_sync.cpp`: enqueue of two commands in two separate queues, with both using the same buffer argument, and no synchronization between the commands. * fix UB in `command_buffer_test_barrier.cpp`: missing synchronization between zeroing command and command-buffer using two separate queues * make `test_thread_dimensions.cpp` thread-safe to avoid spurious errors.
Configuration menu - View commit details
-
Copy full SHA for c40c8d5 - Browse repository at this point
Copy the full SHA c40c8d5View commit details -
Add new extensions to conformance csv files (#2096)
The extension tests in `test_conformance/extensions` have not matching entries in the `opencl_conformance_tests_*.csv` files. This means that they are missed from conformance runs by vendors who use these files. I've included the new extensions in the full and quick CSV files as they don't have vast combinations of tests to run like bruteforce or conversions. I've put `cl_khr_dx9_media_sharing` in the `test_conformance/opencl_conformance_tests_d3d.csv` CSV as like the other tests there the test binary is conditional built only on a Windows platform. I've created a new `opencl_conformance_tests_vulkan.csv ` file for testing the `cl_khr_external_semaphore` extension, as creation of the binary is conditional on the Vulkan SDK being enabled environment. Any other tests that require the Vulkan SDK in future can also be added there.
Configuration menu - View commit details
-
Copy full SHA for b64f429 - Browse repository at this point
Copy the full SHA b64f429View commit details -
Fix warning now treated as error (#2107)
Following the re-enablement of narrowing warnings, this fixes a compilation error when running the `ubuntu 22.04 arm` GitHub action. Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 1527c4e - Browse repository at this point
Copy the full SHA 1527c4eView commit details
Commits on Oct 15, 2024
-
Added missing test cases for CL_SEMAPHORE_DEVICE_HANDLE_LIST_KHR quer…
Configuration menu - View commit details
-
Copy full SHA for 2998463 - Browse repository at this point
Copy the full SHA 2998463View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f54727 - Browse repository at this point
Copy the full SHA 9f54727View commit details -
vulkan: Propagate fix to multiImport diffCtx (#2075)
Vulkan descriptors are being programmed incorrectly, use fix from 1676 in other subtest Co-authored-by: dcrawley <dcrawley@qti.qualcomm.com>
Configuration menu - View commit details
-
Copy full SHA for 881635a - Browse repository at this point
Copy the full SHA 881635aView commit details -
vulkan: Choose where Shaders are generated (#2114)
- generate shader files in VULKAN_TEST_RESOURCES directory - allows for outside CMakeLists to specify arbitrary destination Co-authored-by: dcrawley <dcrawley@qti.qualcomm.com>
Configuration menu - View commit details
-
Copy full SHA for 115068e - Browse repository at this point
Copy the full SHA 115068eView commit details
Commits on Oct 16, 2024
-
fixes a narrowing warning (treated as an error) affecting some platfo…
Configuration menu - View commit details
-
Copy full SHA for c071db7 - Browse repository at this point
Copy the full SHA c071db7View commit details
Commits on Oct 17, 2024
-
Fix bug in
mutable_command_full_dispatch
(#2118)The test is missing clFinish after clEnqueueSVMUnmap. Add clFinish after clEnqueueSVMUnmap. Signed-off-by: Xin Jin <xin.jin@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 63ce937 - Browse repository at this point
Copy the full SHA 63ce937View commit details
Commits on Oct 22, 2024
-
conversions: fix condition for adding -cl-denorms-are-zero (#2067)
Commit b6941b6 ("Add fp16 testing to conversions and bruteforce (#1975)", 2024-06-18) introduced a behavioural change for non-half tests. The `-cl-denorms-are-zero` option could be added for non-half tests such as `char_rtn_float` even when `gForceFTZ` was `false`. Fix the condition by also taking the input and output types into account. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for d1fe1ec - Browse repository at this point
Copy the full SHA d1fe1ecView commit details -
add SPIR-V 1.4 testing for Image Operands and Loop Controls (#2034)
This PR adds targeted testing for SPIR-V 1.4 features. Specifically, this PR adds testing for: 1. The new Image Operand for SignExtend and ZeroExtend. 2. The new Loop Controls MinIterations, MaxIterations, IterationMultiple, PeelCount, and PartialCount.
Configuration menu - View commit details
-
Copy full SHA for 94257de - Browse repository at this point
Copy the full SHA 94257deView commit details -
add SPIR-V 1.4 testing for no integer wrap decorations (#2041)
This PR adds targeted testing for SPIR-V 1.4 features. Specifically, this PR adds testing for the NoSignedWrap and NoUnsignedWrap decorations. We can reuse large parts of the testing for the `cl_khr_spirv_no_integer_wrap_decoration` extension to test the SPIR-V 1.4 feature.
Configuration menu - View commit details
-
Copy full SHA for ec63944 - Browse repository at this point
Copy the full SHA ec63944View commit details -
vulkan: Use image row pitch (#2077)
When importing a Vulkan external image, query and pass OpenCL a row pitch if OpenCL is assuming linear for the imported external handle type. Additionally fix a bug where OpenCL is being told to create mipmapped images at all times. --------- Co-authored-by: dcrawley <dcrawley@qti.qualcomm.com>
Configuration menu - View commit details
-
Copy full SHA for 5026b1b - Browse repository at this point
Copy the full SHA 5026b1bView commit details -
Command buffer testing fixes (#2081)
Signed-off-by: Gorazd Sumkovski <gorazd.sumkovski@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 1a17853 - Browse repository at this point
Copy the full SHA 1a17853View commit details -
Fix bug in
mutable_command_full_dispatch
(#2082)This test did not pass the `-cl-std=` flag when building the program. As a result, for an OpenCL 3.0 device, the program will be "compiled using the highest OpenCL C 1.x language version supported" by the device. However this will force uniform work-group sizes which leads to a `CL_INVALID_WORK_GROUP_SIZE` error. To fix this, use the `create_single_kernel_helper()` helper function which will automatically get the device version and pass that to `-cl-std=` when building the program. --------- Signed-off-by: Gorazd Sumkovski <gorazd.sumkovski@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 6a2c0b1 - Browse repository at this point
Copy the full SHA 6a2c0b1View commit details -
Some events are not released in test_mem_host_flags (#2104)
In test_mem_host_flags, some events are not released. In fact, they are not used, so they can be removed altogether.
Configuration menu - View commit details
-
Copy full SHA for 482a6bc - Browse repository at this point
Copy the full SHA 482a6bcView commit details -
Add testing of
CL_UNORM_INT_2_101010_EXT
(#2112)All existing tests in `test_image_streams`, that are capable of testing image formats using the `CL_UNORM_INT_2_101010_EXT` data type, do so. Signed-off-by: Gorazd Sumkovski <gorazd.sumkovski@arm.com>
Configuration menu - View commit details
-
Copy full SHA for e678277 - Browse repository at this point
Copy the full SHA e678277View commit details -
[NFC] relationals: fix -Wformat-security warnings (#2084)
Fix a "format string is not a string literal (potentially insecure)" warning. There is no security issue here as the format string argument is constructed using a stringstream right before. Fix this occurrence anyway to allow enabling the warning globally. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 5b3bfee - Browse repository at this point
Copy the full SHA 5b3bfeeView commit details -
vulkan: accept device selection (#2113)
- read CL_DEVICE_TYPE_ when specified like other conformance tests - reject non-GPU device types Co-authored-by: dcrawley <dcrawley@qti.qualcomm.com>
Configuration menu - View commit details
-
Copy full SHA for 899cbf5 - Browse repository at this point
Copy the full SHA 899cbf5View commit details
Commits on Oct 29, 2024
-
semaphore: fix mistyped "platform" in log messages (#2128)
Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 6337d9b - Browse repository at this point
Copy the full SHA 6337d9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b1dfe8a - Browse repository at this point
Copy the full SHA b1dfe8aView commit details -
add SPIR-V 1.4 testing for OpPtrEqual, OpPtrNotEqual, OpPtrDiff (#2054)
This PR adds targeted testing for the SPIR-V 1.4 instructions OpPtrEqual, OpPtrNotEqual, and OpPtrDiff.
Configuration menu - View commit details
-
Copy full SHA for bc5f6cd - Browse repository at this point
Copy the full SHA bc5f6cdView commit details -
[NFC] math_brute_force: use getAllowedUlpError for half (#2086)
Call `getAllowedUlpError` to obtain the allowed ULP error for all of the half type (fp16) tests. The aim is to standardise obtaining the desired ULP requirement and pave the way for adding the Embedded Profile ULP errors. Contributes to #867 Contributes to #1685 Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for dd24546 - Browse repository at this point
Copy the full SHA dd24546View commit details -
Fix for out of bounds access (#2105)
Rounding up the clusters_results size to avoid out of bounds access when subgroup_size is not a multiple of cluster_size.
Configuration menu - View commit details
-
Copy full SHA for 66fd9e4 - Browse repository at this point
Copy the full SHA 66fd9e4View commit details -
Fix check for CL_DEVICE_HALF_FP_CONFIG. (#2108)
When cl_khr_fp16 is not supported, this property is not available. Note that the spec is different for CL_DEVICE_{PREFERRED,NATIVE}_VECTOR_WIDTH_HALF: those properties are always available and return 0 if cl_khr_fp16 is not supported, so those checks are left as is.
Configuration menu - View commit details
-
Copy full SHA for 7d3e1f0 - Browse repository at this point
Copy the full SHA 7d3e1f0View commit details -
cl_khr_semaphore: fix -Wformat warnings (#2124)
Add a `format` parameter to the macro, to be able to specify how to print the expected and actual parameter values. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 8369028 - Browse repository at this point
Copy the full SHA 8369028View commit details -
remove using namespace std and use std namespace explicitly (#2125)
Removes `using namespace std` and adds `std::` explicitly instead, which is usually on calls to `min`. This is generally best practice, and it also might be helpful when there are the same function names in the std namespace and in the global namespace (e.g. #1833).
Configuration menu - View commit details
-
Copy full SHA for d8228f0 - Browse repository at this point
Copy the full SHA d8228f0View commit details
Commits on Oct 31, 2024
-
add SPIR-V 1.4 testing for UserSemantic (#2053)
This PR adds targeted testing for more SPIR-V 1.4 features. Specifically, this PR adds testing for OpDecorateString, OpMemberDecorateString, and the UserSemantic decoration.
Configuration menu - View commit details
-
Copy full SHA for c4119f0 - Browse repository at this point
Copy the full SHA c4119f0View commit details
Commits on Nov 5, 2024
-
Added test to verify required features coupling (#2115)
Fixes #1366 according to task description.
Configuration menu - View commit details
-
Copy full SHA for 6563c90 - Browse repository at this point
Copy the full SHA 6563c90View commit details -
Enable building OpenCL-CTS with Intel DPC++/C++ compiler ICX on Windo…
…ws (#2088) Currently Intel® C++ Compiler Classic (ICC) is supported to build OpenCL-CTS on Windows. This compiler has been discontinued since the second half of 2023. Instead, Intel recommends that users transition to use the LLVM-based Intel® oneAPI DPC++/C++ Compiler (ICX). This change is to enable users to build OpenCL-CTS with ICX on Windows.
Configuration menu - View commit details
-
Copy full SHA for ccd4550 - Browse repository at this point
Copy the full SHA ccd4550View commit details -
kernel_image_methods: Fix size checks in 1Dbuffer case (#2106)
Image height is initialized to 0. But the size calculation should assume a height of 1.
Configuration menu - View commit details
-
Copy full SHA for 040dc5f - Browse repository at this point
Copy the full SHA 040dc5fView commit details -
Fix CTS mutable_dispatch memory leak (#2129)
Current class wrapper of the CTS test framework allows getting the pointer of the private member object. This puts the object at risk of losing its original value if the pointer gets reassigned, causing a memory leak and potentially other problems. This happens to the "clMemWrapper kernel" used by mutable_command_work_groups tests, where the "clMemWrapper kernel" gets initialised by the default basic setup function and then it gets reassigned by the build_program_create_kernel_helper() helper function through pointer. This patch fixes this issue by updating mutable_command_work_groups tests: instead of calling basic setup function and then initialise the "clMemWrapper kernel" object again in the helper function, it now overrides the basic setup function to make sure the "clMemWrapper kernel" will be assigned only once. Signed-off-by: Xin Jin <xin.jin@arm.com>
Configuration menu - View commit details
-
Copy full SHA for e211470 - Browse repository at this point
Copy the full SHA e211470View commit details -
Import Vulkan resources via named NT handle (#1895)
Add coverage to import Vulkan resources (memory and semaphore) in Windows via named NT handles. If no name is given during resource creation, then use NT handles for import. If a name is given, have an option to either use that name or get the NT handle and use that for import. Resolves KhronosGroup/OpenCL-Docs#943
Configuration menu - View commit details
-
Copy full SHA for ef73a1d - Browse repository at this point
Copy the full SHA ef73a1dView commit details -
vulkan: Remove redundant negative testing (#2078)
- negative testing for semaphore functions is accomplished in semaphore tests, as well as create image in the api test Co-authored-by: dcrawley <dcrawley@qti.qualcomm.com>
Configuration menu - View commit details
-
Copy full SHA for 5d4b51b - Browse repository at this point
Copy the full SHA 5d4b51bView commit details -
Fix payload value query for external semaphores (#2127)
When creating a CL semaphore object from a Vulkan semaphore one, we explicitly pass `-1` as the file descriptor value in the case of `VULKAN_EXTERNAL_SEMAPHORE_HANDLE_TYPE_SYNC_FD`. According to the CL specification: > The special value -1 for fd is treated like a valid sync file > descriptor referring to an object that has already signaled. The > import operation will succeed and the semaphore will have a > temporarily imported payload as if a valid file descriptor had > been provided. The test currently checks that the semaphore payload is unsignalled, unconditionally, which is incorrect. Changed the test to check for the correct expected payload value. Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 10130a1 - Browse repository at this point
Copy the full SHA 10130a1View commit details
Commits on Nov 11, 2024
-
add SPIR-V 1.4 testing for various miscellaneous additions (#2122)
This PR adds targeted testing for a few remaining miscellaneous SPIR-V 1.4 features: * Variables in the Function storage class can have a NonWriteable decoration. * OpCopyMemorySized can have two optional memory operands. * OpSelect can have composite operands that are not vectors.
Configuration menu - View commit details
-
Copy full SHA for b149060 - Browse repository at this point
Copy the full SHA b149060View commit details
Commits on Nov 12, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 265cc18 - Browse repository at this point
Copy the full SHA 265cc18View commit details -
Re-enable simple_semaphore_2 (#2123)
Re-enable a disabled external semaphore test. Delete obsolete subtests that remain in comments.
Configuration menu - View commit details
-
Copy full SHA for 239159f - Browse repository at this point
Copy the full SHA 239159fView commit details
Commits on Nov 19, 2024
-
Configuration menu - View commit details
-
Copy full SHA for a9be3cc - Browse repository at this point
Copy the full SHA a9be3ccView commit details -
Refactor test copy from and to image to buffer (#2138)
This change refactors the following files: 1. test_imagearraycopy.cpp 2. test_arrayimagecopy.cpp The purpose of refactoring is to allow passing different buffer and image flags to the test function as well as passing customisable test functions. Signed-off-by: Michael Rizkalla <michael.rizkalla@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 918d561 - Browse repository at this point
Copy the full SHA 918d561View commit details
Commits on Nov 22, 2024
-
[NFC] kernelHelpers: remove unused macros and prototypes (#2156)
None of these are referenced anywhere in the code, so remove them. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 2358b46 - Browse repository at this point
Copy the full SHA 2358b46View commit details
Commits on Nov 25, 2024
-
add SPIR-V 1.4 testing for OpCopyLogical (#2136)
This PR adds targeted testing for the SPIR-V 1.4 instruction OpCopyLogical.
Configuration menu - View commit details
-
Copy full SHA for e9a248f - Browse repository at this point
Copy the full SHA e9a248fView commit details
Commits on Nov 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for feca4c6 - Browse repository at this point
Copy the full SHA feca4c6View commit details -
When comparing scanlines for SNORM images, take into account that -1.0 can be exactly represented in two different ways. --------- Co-authored-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 1102e0b - Browse repository at this point
Copy the full SHA 1102e0bView commit details -
printf: add fflush(stdout) at the end (#2103)
Some platforms (Windows in our case) seem to need this.
Configuration menu - View commit details
-
Copy full SHA for d3b9520 - Browse repository at this point
Copy the full SHA d3b9520View commit details -
Fix various Wformat warnings (#2135)
test_copy_1D.cpp: num_mip_levels is a cl_uint, so don't cast and just print using `%u`. test_pipe_info.cpp: arg_type_qualifier is a 64-bit wide bitfield, so print in hexadecimal format using the correct length modifier. test_device_partition.cpp: it is not clear what the bit width of `cl_device_partition_property` should be, so cast the operands to align with the format specifiers. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
Configuration menu - View commit details
-
Copy full SHA for e360d2d - Browse repository at this point
Copy the full SHA e360d2dView commit details -
Command buffer test adjustments (#2141)
Signed-off-by: Gorazd Sumkovski <gorazd.sumkovski@arm.com> Co-authored-by: Ewan Crawford <ewan.cr@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 96e3d7e - Browse repository at this point
Copy the full SHA 96e3d7eView commit details -
Use
cl_uint
in some SPIR-V tests to avoid UB (#2159)The following tests under `spirv_new`: * `op_branch_conditional` * `op_phi` * `op_selection_merge` were using randomly generated `cl_int` values, and storing the difference between them as a `cl_int`. If one of the generated values is negative and large enough, while the other is positive and large enough, the difference then becomes a larger value that cannot be represented using `cl_int`. Switch the tests to use `cl_uint` instead, and update the relevant spvasm{32,64} files to use `OpULessThan` instead of `OpSLessThan`. Signed-off-by: Ahmed Hesham <ahmed.hesham@arm.com>
Configuration menu - View commit details
-
Copy full SHA for 5d85fb3 - Browse repository at this point
Copy the full SHA 5d85fb3View commit details -
Use the system package manager to install cross-compilers (#2158)
On Ubuntu, use the system's package manager, `apt`, to download and install the cross-compilers for Arm and AArch64. This replaces downloading the compilers as tarballs. To ensure that the correct version of the compiler is used when calling one without the version suffix, e.g. `aarch64-linux-gnu-gcc`, use `update-alternatives`. On Linux, the compilers for `x86_64`, `arm`, and `aarch64` will now correctly use the filesystem root as their sysroots, i.e. `/usr/include` will be used when searching for headers, instead of each compiler providing its own.
Configuration menu - View commit details
-
Copy full SHA for df5e87b - Browse repository at this point
Copy the full SHA df5e87bView commit details -
[RFC] Move logic for test registration to the test harness (#2151)
And use in device_timer suite. Signed-off-by: Kévin Petit <kpet@free.fr>
Configuration menu - View commit details
-
Copy full SHA for 0a1456d - Browse repository at this point
Copy the full SHA 0a1456dView commit details