Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
v2: compare to out_data
add comment
style
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
v2: Rename test file
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Make sure fneg that can't be folded into a use operand is
executed correctly.
v2: Merge with other test
v3: Remove other test
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
v2(jan) : Remove dead code
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
v2(Jan): drop redundant pragma cl_khr_fp64
add -cl-denorms-are-zero to build cmdline
fix whitespace error
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
v2: Rename test
(Jan) rename config name too
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
v2: Require cl_khr_fp64
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Fix build error on Mac OS X.
Linking C executable ../../../../../bin/cl-custom-use-sub-buffer-in-kernel
ld: library not found for -lrt
Fixes: e34b54672cbb ("cl: Fix build on systems where clock_gettime is only avaiable in librt")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Serge Martin <edb+piglit@sigluy.net>
|
|
v7(jan): return skip instead of pass if OpenCL C version string API was not availabel at build time
print version string if parsing fails
set subtests to fail instead of merging to global result
fix format string to include whitespace (for cl c version)
v6: Fix OpenCL C version test if test is compiled against OpenCL 1.0
v5: Use sscanf, fix CL_DEVICE_OPENCL_C_VERSION include guard, fix logic
v4: Test against env->version instead of opencl_version and never
report PIGLIT_SKIP for the values of IMAGE_SUPPORT and ENDIAN_LITTLE
v3: Fix alignment and typos
v2: Check the values of the defines and add more checks
Signed-off-by: Niels Ole Salscheider <niels_ole@salscheider-online.de>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Serge Martin <edb+piglit@sigluy.net>
|
|
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
The tests try to use target mem type aligned access.
Generated tests pass (except vstore-half which skips) on intel(cpu), beignet, nvidia CUDA
v2: Move code to main function, update copyright
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Acked-by: Tom Stellard <thomas.stellard@amd.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
|
|
Use explicit conversion from regexp matched array values
v2: distance between two half numbers is 8192 single float ulps
no need to place converted float in the middle of single precision range
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Acked-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Passes on CUDA, beignet, clover on kaveri, and intel CPU.
v2: fix threads float test name
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by : Serge Martin <edb+piglit@sigluy.net>
|
|
Passes on CUDA, beignet, clover on kaveri, intel CPU.
v2: fixup whitespace
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by : Serge Martin <edb+piglit@sigluy.net>
|
|
clCreatProgramWithBinary expects a "const unsigned char **", but the code
passes an "unsighed char **". This is a particular kind of messiness
that is hard to fix, so just cast when passing into
clCreateProgramWithBinary.
Thanks to idr and Matt for help getting this right.
Signed-off-by: Dylan Baker <dylanx.c.baker@intel.com>
Reviewed-by: Serge Martin <edb+piglit@sigluy.net>
|
|
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Serge Martin <edb+piglit@sigluy.net>
|
|
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Serge Martin <edb+piglit@sigluy.net>
|
|
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
v2: fix sizeof test
v3: OCL1.0 is OK with extension : enable
Signed-off-by: Jan Vesely <jano.vesely@gmail.com>
Reviewed-by: Serge Martin <edb+piglit@sigluy.net>
|
|
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Fixes Unknown status "Unknown result" python exception.
Signed-off-by: Jan Vesely <jano.vesely@gmail.com>
Reviewed-by: Serge Martin <edb+piglit@sigluy.net>
|
|
Provide our own image_desc structure since it's too tangled to remove.
Tests that require OCL 1.2 result in WARN:
Piglit was compiled with lower OpenCL version (1.1) than version_min: 12.
OCL 1.1 image tests pass on Intel CPU OCL when compiled in 1.1 environment.
Signed-off-by: Jan Vesely <jano.vesely@gmail.com>
Reviewed-by: Serge Martin <edb+piglit@sigluy.net>
|
|
v2: coalesce input checks into one subtest
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Serge Martin <edb+piglit@sigluy.net>
|
|
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Only 2D images are supported yet.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Signed-off-by: Aaron Watry <awatry@gmail.com>
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
skip the test if there is no linker available
fix CL_LINKER_NOT_AVAILABLE detection by testing device one by one
print the build log in case of error
|
|
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Deprecated features are required to be supported until they are removed.
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
|
|
Fixes Coverity "resource leak" defects.
Suggested-by: Serge Martin <edb+piglit@sigluy.net>
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Serge Martin <edb+piglit@sigluy.net>
|
|
create-context.c:141:15: warning: unused variable 'num_platform_ids' [-Wunused-variable]
unsigned int num_platform_ids;
^
create-context.c:139:7: warning: unused variable 'found_invalid_platform' [-Wunused-variable]
bool found_invalid_platform = false;
^
create-context.c:140:18: warning: unused variable 'platform_ids' [-Wunused-variable]
cl_platform_id* platform_ids;
^
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Serge Martin <edb+piglit@sigluy.net>
|
|
The tests for the integer/long minimums do not properly
check that the value is stored in the correct type.
E.g. (-2147483648) actually gets parsed as a long by the preprocessor,
and therefore INT_MIN is actually stored as long and can't be automatically
vectorized.
By subtracting a vector with value of 0 from the given defined *_MIN
and then grabbing the first element of the resulting vector, we can
make sure that the values are actually stored in the correct type.
v2: Remove char/short modifications.
Test *_MAX vectorization as well as _MIN for int/long
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
Reported-By: Moritz Pflanzer <moritz.pflanzer14@imperial.ac.uk>
Signed-off-by: Aaron Watry <awatry@gmail.com>
|
|
Reviewed-by: Jan Vesely <jan.vesely@rutgers.edu>
|
|
|
|
|