Commit Graph

530 Commits

Author SHA1 Message Date
Jakub Szuppe
590c814bbe
Fix: unsigned long is not fundamental type on Win64
On Windows 64 unsigned long has 4 bytes like unsigned int, but it does not
seem to be a simple alias for unsigned int. Because of that unsigned long is
not OpenCL fundamental type.
2019-02-11 09:13:06 +01:00
Jakub Szuppe
a47ff938b7
Merge pull request #823 from jszuppe/accessors-reupload
Accessors reupload
2019-02-10 16:30:30 +01:00
Henry Schreiner
4ab0939663 Adding types (would be included if including core) 2019-02-10 11:53:30 +01:00
Henry Fredrick Schreiner
0ab199c834 Adding test (should fail on macOS) 2019-02-10 11:53:30 +01:00
Amir Shavit
04f7d5867f Added accessors to vector types 2019-02-10 11:45:40 +01:00
Jakub Szuppe
facbfb2698 Fix test_kernel.cpp
Also minor fixes for CMake scripts.
2018-12-29 10:51:22 +01:00
Anthony C
22e04ea5a8 reproduce the issue as appeared in #774. the issue arises when there's equal keys (values that are compared against) in the array 2018-12-19 20:48:45 +08:00
Jakub Szuppe
509ebe4a92
Merge pull request #780 from jszuppe/fix_memory_leak_746
Fix memory leak
2018-05-13 22:14:06 +02:00
Jakub Szuppe
6e6bcf6bc8 Add buffer memory leak test case
See issue #746
2018-05-12 12:29:44 +02:00
pradeep
450a109c4a Fix device var access in tests macro calls 2018-05-08 14:55:41 +05:30
Lakshay Garg
a6879d2c2c add future::then() method
resolves #94
2018-03-04 16:56:03 +05:30
Jakub Szuppe
1abd2b2eeb Adjust .travis.yml to Travis CI changes 2018-02-27 15:58:38 +01:00
Jakub Szuppe
a3c4126860 Add 2 more missing runtime check for 2.1 2017-11-28 20:48:05 +01:00
Jakub Szuppe
f65d9a98ed Update test to support POCL 2017-11-28 20:48:04 +01:00
Kristian Popov
0100733230 Added copyright notice to new files 2017-11-28 20:45:54 +01:00
Kristian Popov
a091e5d5c8 Added 2 new test cases for program build failure handling 2017-11-28 20:45:54 +01:00
Kristian Popov
286c7dc9ca Program build throws a more precise exception that stores build log 2017-11-28 20:45:51 +01:00
Jakub Szuppe
a0082b5f7d Add runtime checks for OpenCL 2.1 feature tests 2017-11-16 23:08:52 +01:00
Jakub Szuppe
7ecb09a47c Fix Threefry RNG 2017-10-12 22:14:26 +02:00
Kyle Lutz
d36ef02b78 Merge pull request #742 from jszuppe/fix_strided_iter_tag
Fix strided_iterator tag
2017-09-12 05:22:47 +02:00
Jakub Szuppe
48c9e86479 Fix strided_iterator's iterator_category
Using std::iterator_traits<> to get iterator tag prevents
from converting STL iterator tag to Boost tag.
2017-09-10 23:24:55 +02:00
Jakub Szuppe
6c2a3604b9 Implement vector::shrink_to_fit() 2017-06-17 17:44:26 +02:00
Kyle Lutz
251d02b17d Merge pull request #731 from jszuppe/pr_svm_migrate_mem
Add wrapper for clEnqueueSVMMigrateMem()
2017-06-11 13:18:47 -07:00
Jakub Szuppe
f568c447e3 Add wrapper for clEnqueueSVMMigrateMem() 2017-06-11 08:19:35 +02:00
Jakub Szuppe
cb534cdfa2 Add clSetDefaultDeviceCommandQueue wrapper 2017-06-04 14:46:05 +02:00
Jakub Szuppe
725a8fa8e8 Add tests for device timer methods 2017-05-27 18:05:01 +02:00
Jakub Szuppe
d1bc634fc5 Add tests for creating program with IL
For testing boost::compute::program::create_with_il() 32- and 64-bit
SPIR-V binaries were added to test/data dir. File test/data/program.cl
contains OpenCL C source code of those binaries.
2017-05-23 00:06:12 +02:00
Jakub Szuppe
8979846ba0 Merge pull request #720 from jszuppe/pr_kernel_clone
Add clCloneKernel() wrapper
2017-05-16 10:51:51 +02:00
Janusz Rupar
da05ba9631 vector::reserve() implemented
Fixes bug #687
2017-05-14 11:32:33 +02:00
Jakub Szuppe
24bbb350bb Add clone() to kernel class
This adds wrapper for clCloneKernel() OpenCL 2.1 API
function to the kernel class.
2017-05-12 21:38:24 +02:00
Jakub Szuppe
499689dd05 Fix test_vector.cpp
We have to sync buffer with queue.finish() before
reading it with another command queue.
2017-05-09 20:26:09 +02:00
Jakub Szuppe
2fcaa8db15 Fix test_for_each.cpp 2017-05-09 19:10:36 +02:00
Jakub Szuppe
1bee0169ba Add tests for get_sub_group_info() 2017-05-07 11:56:25 +02:00
Jakub Szuppe
9d0b9410f7 Fix test in test_device.cpp 2017-04-26 11:22:44 +02:00
Jakub Szuppe
a4a3982e1c Fix test_flat_set.cpp test 2017-04-26 11:22:44 +02:00
Jakub Szuppe
97f78d50b9 Fix test_is_permutation.cpp test 2017-04-26 11:22:44 +02:00
Jakub Szuppe
43f3634378 Fix test_random_shuffle.cpp test 2017-04-26 11:22:44 +02:00
Jakub Szuppe
ebc1ddfcbd Fix test_pair.cpp test 2017-04-26 11:22:44 +02:00
Jakub Szuppe
ca75931466 Use BOOST_COMPUTE_CL_VERSION_X_Y in tests 2017-04-23 20:11:10 +02:00
Jakub Szuppe
f06aed04c6 Fix #484
Some tests should not be run if macro
BOOST_COMPUTE_NO_HDR_INITIALIZER_LIST is defined.
2017-04-08 18:19:43 +02:00
Jakub Szuppe
c21f705a2a Test sort_by_key with custom struct values 2017-04-02 17:18:04 +02:00
Adam Wulkiewicz
f68111457d Use 'obj' rule instead of 'compile' in opencl availability test.
The use of 'compile' rule interferes with --dump-tests option of b2 and prevents correct running of tests in some of the other Boost libraries.
2017-03-30 00:17:28 +02:00
Jakub Szuppe
6f9e6cf650 Merge pull request #658 from Slonegg/compile_program_with_headers
added headers to program::compile
2017-03-29 21:31:21 +02:00
Kyle Lutz
a76d6a97d7 Merge pull request #696 from haahh/pr_amd_svm_fixed_on_win
AMD SVM bug was fixed on Windows
2017-03-27 19:18:40 -07:00
Jakub Szuppe
587720e221 AMD SVM bug fixed on Win 2017-03-22 18:48:16 +01:00
Kyle Lutz
d8beaaf227 Merge pull request #694 from haahh/pr_vs_fixes
Various fixes for Visual Studio
2017-03-20 20:11:12 -07:00
Kyle Lutz
e370e6acae Merge pull request #693 from haahh/pr_fix
Various fixes
2017-03-20 20:07:52 -07:00
Kyle Lutz
d2132e4ce5 Merge pull request #689 from Flast/check-opencl-availability
Check opencl availability on test.
2017-03-20 20:01:32 -07:00
Jakub Szuppe
2d604e7656 Fix: isinf is ambiguous in VS2015 2017-03-18 15:22:22 +01:00
Jakub Szuppe
d0f3e50a32 Fix issue #683
Make sure variable type is kept when
stringifying its value in bc::lambda.
2017-03-17 21:44:00 +01:00