2
0
mirror of https://github.com/boostorg/compute.git synced 2026-02-18 14:02:13 +00:00
Commit Graph

1022 Commits

Author SHA1 Message Date
Denis Demidov
cafe8b6578 Provide wait-list iterators 2016-03-18 22:27:55 +03:00
Denis Demidov
15b7414e78 Provide array subscript operator for wait_list 2016-03-18 22:20:39 +03:00
Denis Demidov
2eed2c2fdd Provide wait_list::reserve() method
This should help to get rid on unnecessary heap allocations.

The wait lists are usually small, which means that just pushing back
elements without prior call to reserve has very high chance of hitting
capacity limit every time wait_list::insert is called.
2016-03-18 10:58:29 +03:00
Kyle Lutz
38ba1c5447 Merge pull request #566 from haahh/update-test-jamfilev2
Update tests compile options in Jamfile.v2
2016-03-10 13:04:02 -08:00
Kyle Lutz
fe816c5acf Merge pull request #571 from haahh/win-related-changes
Windows related changes
2016-03-10 10:14:03 -08:00
Jakub Szuppe
3826e9cae4 Misc fixes 2016-03-09 18:56:17 +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
c41c1d98b1 Link OpenCL in FreeBSD in test/Jamfile.v2 2016-03-09 17:08:59 +01:00
Jakub Szuppe
fec8913be2 Remove redundant compile option
Remove redundant -Wno-deprecated-declaration (msvc: wd4996) compile
option from Travis-CI builds and test/Jamfile.v2.
2016-03-09 17:08:58 +01:00
Jakub Szuppe
1653a06f90 Suppress OpenCL-related deprecated declarations warns
Suppress deprecated declarations warnings (for MSVC, GCC and Clang)
caused by deprecated OpenCL Runtime functions.
2016-03-09 17:08:45 +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 Szuppe
112537a8cb Update tests compile options in Jamfile.v2
Different compilers have different options to suppress the same
warnings.
2016-03-09 14:57:50 +01:00
Kyle Lutz
3e831faf5f Merge pull request #569 from boostorg/opengl-interop-type-names
Add type_name() support for OpenGL types
2016-03-08 20:12:46 -08:00
Kyle Lutz
698647f8a1 Merge pull request #564 from boostorg/update-documentation-for-1.61
Update documentation for release in Boost 1.61
2016-03-08 20:12:00 -08:00
Kyle Lutz
1523b232e3 Add reduce_by_key() to API reference 2016-03-08 19:21:16 -08:00
Kyle Lutz
03dc34b820 Add type_name() support for OpenGL types 2016-03-07 19:52:32 -08:00
Kyle Lutz
c1ae612926 Update documentation for release in Boost 1.61 2016-03-06 18:34:33 -08:00
Kyle Lutz
1386d2947d Merge pull request #562 from ddemidov/fix-faq
Fix FAQ section regarding differences with existing libraries
2016-03-04 10:03:20 -08:00
Denis Demidov
7252fe0407 Fix FAQ section regarding differences with existing libraries
Mention that VexCL is in fact may use Boost.Compute as a backend.
2016-03-04 06:37:00 +03:00
Kyle Lutz
83e53e7db1 Merge pull request #560 from danieljames/develop
Configure documentation to use boost paths.
2016-03-01 16:37:03 -08:00
Daniel James
63fc69352b Configure documentation to use boost paths. 2016-03-01 20:28:34 +00:00
Kyle Lutz
bea393d7b0 Merge pull request #555 from haahh/update-travis-ci-pocl
[Travis CI] Add POCL builds
2016-02-28 10:20:17 -08:00
Jakub Szuppe
94ad91ded3 Add AMD APP SDK Travis CI builds
Thanks to JuliaGPU for providing AMD APP SDK setup script
2016-02-27 16:14:49 +01:00
Jakub Szuppe
4bc8a13b46 clLinkProgram and clCompileProgram unimplemented in POCL 2016-02-25 22:39:31 +01:00
Jakub Szuppe
9db2e6d307 Add POCL builds
This commit adds builds with POCL (Trusty, OpenCL 1.0 and 1.1)
and updates Khronos ICD.
2016-02-25 22:39:31 +01:00
Kyle Lutz
d1a313f170 Merge pull request #556 from haahh/misc-fixes
Misc fixes
2016-02-17 11:38:41 -10:00
Jakub Szuppe
11d445a1f5 POCL does not support clSetMemObjectDestructorCallback 2016-02-16 21:28:25 +01:00
Jakub Szuppe
c7b87432cb Fix valarray operators 2016-02-16 21:28:25 +01:00
Jakub Szuppe
8e3a57626b Add missing includes 2016-02-11 19:07:59 +01:00
Kyle Lutz
c2cac3b3a3 Merge pull request #554 from haahh/update-travis-ci
Update Travis CI config
2016-02-09 08:18:26 -10:00
Jakub Szuppe
e85f4ba826 Add missing include in perf_fill.cpp 2016-02-08 21:01:14 +01:00
Jakub Szuppe
247b89c8c3 Update Travis CI config
Disable testing in Linux (fglrx does not work), use
OpenCL-ICD to build in Linux, enable OSX build.
2016-02-08 21:01:09 +01:00
Kyle Lutz
5e4699ad5c Merge pull request #553 from boostorg/fix-missing-forward-declaration
Add missing forward declaration to image3d.hpp
2016-02-02 20:49:17 -08:00
Kyle Lutz
ff0b5ad69e Add missing forward declaration to image3d.hpp 2016-02-02 20:45:10 -08:00
Kyle Lutz
5acd1759a4 Merge pull request #552 from boostorg/fix-iota
Fix counting_iterator with unsigned types
2016-01-23 12:40:50 -08:00
Kyle Lutz
9f1766dd17 Fix counting_iterator with unsigned types 2016-01-18 20:53:41 -08:00
Kyle Lutz
3466881454 Merge pull request #548 from haahh/timberosx_fixes
Timber OSX fixes
2016-01-13 10:56:58 -08:00
Jakub Szuppe
6b34c63fb8 Fix kernels in reduce_by_key_with_scane.hpp
It was not guaranteed that every barrier would be encountered by all
work-items in a work-group executing the kernels due to some work-items
returing too early, not entering the conditional if with with a barrier
or not executing every iteration of the loop with a barrier.

See barrier function description in OpenCL documentation.
2016-01-07 20:55:00 +01:00
Jakub Szuppe
6396530a2b Fix comparison between signed and unsigned integer 2016-01-07 20:54:54 +01:00
Jakub Szuppe
a6f258cf09 Fix find_extrema_reduce kernel in find_extrema_with_reduce.hpp
It was not guaranteed that every barrier would be encountered by all
work-items in a work-group executing the kernel due to some work-items
returing too early, not entering the conditional if with with a barrier
or not executing every iteration of the loop with a barrier.

See barrier function description in OpenCL documentation.
2016-01-07 20:51:56 +01:00
Jakub Szuppe
d142a36e98 Fix unsigned integer type to uint_ 2016-01-07 17:46:31 +01:00
Kyle Lutz
a2a5850948 Merge pull request #547 from Flast/fix-tests
Fix missing includes.
2016-01-05 20:52:07 -08:00
Kohei Takahashi
2dc156d964 Fix missing includes. 2016-01-05 09:47:40 +09:00
Kyle Lutz
6f29b3c4f9 Merge pull request #546 from okdshin/mt_rng_copy_ctor_spike
remove bad tab
2015-12-28 17:03:39 -08:00
Kyle Lutz
767c5beba8 Merge pull request #545 from okdshin/fix_linear_congruential_rng_copy
Modify linear_congruential_engine to copy its all states.
2015-12-28 12:28:58 -08:00
okdshin
5c467c9850 modify linear_congruential rng to copy its all states 2015-12-29 00:51:14 +09:00
okdshin
d869d839b1 add linear_congruential rng copy ctor and assign op test 2015-12-29 00:50:11 +09:00
okdshin
9e0fabe4ae remove bad tab 2015-12-28 00:13:53 +09:00
Kyle Lutz
77352a586b Merge pull request #544 from okdshin/mt_rng_copy_ctor_spike
Modify mersenne_twister_engine to copy its states.
2015-12-26 15:13:59 -08:00
okdshin
babfbafad6 Modify mersenne_twister_engine to copy its states. 2015-12-27 04:24:55 +09:00