Jakub Szuppe
facbfb2698
Fix test_kernel.cpp
...
Also minor fixes for CMake scripts.
2018-12-29 10:51:22 +01: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
cc1cc0e345
Add tests for comparison sort
2016-06-21 17:41:36 +02:00
Jakub Szuppe
bba6c61ed4
Add tests for copying host->device with mismatched types
2016-05-21 16:52:05 +02:00
Jakub Szuppe
5e28138a7a
Update minimum required Boost version to 1.54
2016-05-03 14:32:22 +02:00
Jason Rhinelander
7f18293526
Increase make_literal precision
...
make_literal is losing some precision when making literal floating
point values because it uses digits10, but that only gives us the
number of decimal digits that will survive a decimal->native>decimal
conversion; what we are doing is a native->decimal->native conversion,
which requires the user of ::max_digits10 (which is 2 (double) or 3
(float) larger than ::digits10).
max_digits10 is a c++11 feature, however, so this commit uses
digits10 + 3 when the c++11 numeric_limits isn't available.
2016-04-24 17:32:55 -04:00
Jakub Szuppe
af58463ad9
Add tests for radix_sort_by_key()
2016-03-16 15:07:53 +01:00
Jakub Szuppe
a127310d73
Add test for stable_sort_by_key()
2016-03-16 15:07:28 +01:00
Jakub Szuppe
8bc763cd53
MSVC/WIN-related update of CMakeLists.txt files
...
This commit fixes misc. bugs in CMakeLists.txt files that
were causing various build errors and warnigns.
2016-03-09 18:56:16 +01:00
Jakub Szuppe
a1895728a1
Use custom FindOpenCL.cmake only for cmake older than 3.1
2016-03-09 15:30:02 +01:00
Jakub Pola
f25b47d6f3
scatter if operation
2015-09-28 17:17:10 +02:00
Kyle Lutz
239f4a247c
Merge pull request #498 from boostorg/invoke
...
Add invoke() utility function
2015-09-01 21:49:54 -07:00
Kyle Lutz
ef109b75d5
Add invoke() utility function
...
This adds an invoke() function which calls an OpenCL function on a
device with the given arguments.
2015-08-19 08:18:15 -07:00
Kyle Lutz
15a778d84a
Merge pull request #480 from haahh/pr_boost_inspection
...
Fixing problems reported in Boost Inspection Report
2015-07-18 11:01:57 -07:00
Jakub Szuppe
7e12f63a81
Add missing Boost license info and copyrights
2015-07-18 14:01:29 +02:00
Jakub Szuppe
706af4fce8
Reduce by key algorithm (serial implementation)
2015-07-15 11:06:23 +02:00
Junaid Muzammil
a9c373f92c
Merge remote-tracking branch 'newrepo/develop' into develop
2015-06-02 19:18:00 +05:00
Kyle Lutz
79aa8f9086
Merge pull request #452 from haahh/strided_iterator
...
Add strided_iterator class (skip_iterator) #121
2015-04-20 19:58:31 -07:00
Jakub Szuppe
c80d42aa29
Strided iterator
...
Iterator adaptor which skips over multiple elements each time it is incremented.
2015-04-12 15:56:10 +02:00
Anees Haider
b565232b8e
Merge remote-tracking branch 'compute/develop'
2015-04-06 09:33:52 +05:00
Kyle Lutz
f9136ed842
Add transform_if() algorithm
2015-03-31 19:45:58 -07:00
Junaid Muzammil
1c75d5752d
Necessary Changes Made to Threefry Engine as recommended
2015-03-28 18:06:01 +05:00
Muhammad Junaid Muzammil
37e060d0ca
Threefry Random 123 Support Added
2015-03-22 16:53:47 +05:00
Kyle Lutz
a1e3366ade
Add Boost.Build support
2015-03-01 09:36:59 -08:00
Kyle Lutz
ca0bc4b7d3
Refactor image classes
2015-02-08 16:26:34 -08:00
Kyle Lutz
8b2788f026
Add no_device_found exception
2015-02-07 12:47:11 -08:00
Kyle Lutz
79aa6758f2
Add wait_guard class
2015-01-07 20:19:05 -08:00
Kyle Lutz
7f962e6078
Rename miscellaneous tests
2014-12-30 14:50:47 -08:00
Kyle Lutz
c31195ec7d
Add local_buffer class
2014-12-24 14:06:18 -08:00
Kyle Lutz
417cb03670
Fixes for Mac OS X
2014-12-24 09:25:55 -08:00
Kyle Lutz
c97c83a562
Rename types/builtin.hpp to types/fundamental.hpp
2014-12-20 13:39:50 -08:00
Kyle Lutz
885a2ad135
Improve documentation
2014-12-20 10:39:38 -08:00
Kyle Lutz
a4a6614895
Add program_cache to the public API
2014-12-13 10:38:56 -08:00
Kyle Lutz
1a591e277b
Add result_of<F(Args...)> meta-function
2014-12-10 22:58:54 -08:00
Kyle Lutz
425a9c006f
Add utility directory
...
This adds a new utility directory and moves some of the utility
functions and classes (e.g. dim(), extents, wait_list) there.
2014-12-06 12:51:25 -08:00
Kyle Lutz
4185694366
Add extents<N> class
...
This adds an extents<N> class which stores an array of n-dimensional
extent values. This can be used to represent an ND-range for launching
an OpenCL kernel or for storing the size/shape of a 2D/3D image.
Also adds a variadic dim() function which provides a concise syntax
for creating extents<N> objects.
2014-12-02 22:42:24 -08:00
Kyle Lutz
fa75a66253
Merge pull request #318 from kylelutz/identity-function
...
Add identity<T>() function
2014-11-29 10:28:26 -08:00
Kyle Lutz
16fdb15395
Add identity<T>() function
2014-11-29 10:19:53 -08:00
Kyle Lutz
3e3f46d144
Define BOOST_COMPUTE_DEBUG_KERNEL_COMPILATION for tests
2014-11-28 13:20:21 -08:00
Kyle Lutz
1e0505d79c
Merge pull request #311 from f-koehler/pr229
...
Reimplemented unit tests for unsupported extension and context error
2014-11-24 08:02:36 -08:00
f-koehler
d57fa9ffb0
reimplemented unit tests for unsupported extension and context error
2014-11-24 16:13:58 +01:00
Mageswaran.D
af7e38d2ce
added lexicographical_compare algorithm & test cases
2014-11-19 23:49:10 +05:30
Kyle Lutz
e7578b697f
Merge pull request #272 from kylelutz/improve-test-coverage
...
Improve test coverage
2014-09-29 21:26:21 -07:00
Kyle Lutz
f300370366
Add test for platform class
2014-09-29 20:30:39 -07:00
Kyle Lutz
05afa5f707
Use thread-local storage for global program cache
2014-09-28 12:37:48 -07:00
Kyle Lutz
7e05c0f9a5
Merge pull request #262 from kylelutz/opencl-2.0
...
Add OpenCL 2.0 support
2014-09-21 11:05:15 -07:00
Kyle Lutz
cdcd4c5a32
Refactor get_info() functions
2014-09-13 18:42:43 -07:00
Kyle Lutz
ec254c04bb
Add OpenCL 2.0 support
2014-09-13 12:29:03 -07:00
Kyle Lutz
60f0709bc1
Merge pull request #259 from kylelutz/dynamic-bitset
...
Add dynamic_bitset class
2014-09-07 11:37:50 -07:00
Kyle Lutz
8310e8e729
Add dynamic_bitset class
2014-09-07 11:21:46 -07:00