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

1034 Commits

Author SHA1 Message Date
Jakub Szuppe
dcddaae8d2 Make number of trials configurable from cmd line
Make number of trials in benchmarks (how many times algorithm
is run) configurable from command line.
2016-04-10 12:42:35 +02:00
Kyle Lutz
44f08e3932 Merge pull request #580 from boostorg/fix-svm-ptr-assignment-operator
Add missing return to svm_ptr assignment operator
boost-1.61.0
2016-04-07 15:10:42 -07:00
Kyle Lutz
203f0be723 Add missing return to svm_ptr assignment operator 2016-04-07 07:58:03 -07:00
Kyle Lutz
523d8e9745 Merge pull request #577 from ddemidov/wait_list-improvements
Wait list improvements
2016-03-18 19:38:41 -07:00
Kyle Lutz
da71051593 Merge pull request #573 from haahh/pr_stable_sort_by_key
Add stable_sort_by_key()
2016-03-18 19:36:22 -07:00
Kyle Lutz
90638570c9 Merge pull request #572 from haahh/pr_fix_comp_errors_osx
Fix compilation errors on OSX
2016-03-18 19:35:03 -07:00
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
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
73ef474fdd Add stable_sort_by_key()
Currently, stable_sort_by_key() works on GPUs only for
keys that are radix-sortable and for very small inputs.
2016-03-16 14:59:02 +01:00
Jakub Szuppe
77ff3b36ab Add OSX build without running tests on Travis-CI
This commit adds OSX build on Travis-CI in which unit tests
are not run. This build is NOT allowed to fail.
2016-03-16 13:17:54 +01:00
Jakub Szuppe
b3224ea753 Misc. strided_iterator changes 2016-03-16 13:16:14 +01:00
Jakub Szuppe
b8fa408d4b Fix compilation errors on OSX
Fix compilation errors occurring on OSX in strided_iterator,
merge_with_merge_path() and includes(). They were introduced
by commit 3826e9cae4 fixing
signed/unsigned int comparison warnings on Windows.
2016-03-16 13:08:39 +01: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