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

850 Commits

Author SHA1 Message Date
Kyle Lutz
b932e75723 Merge pull request #464 from marbre/master
Install BoostComputeConfig.cmake to lib/cmake/BoostCompute
2015-06-08 20:53:41 -07:00
Marius Brehler
1df43402a0 Install BoostComputeConfig.cmake to lib/cmake/BoostCompute 2015-06-06 10:19:24 +02:00
Kyle Lutz
d2c6df69df Merge pull request #461 from haahh/pr_fill_tests
Add fill() and fill_n() tests for every built-in type
2015-05-27 19:56:35 -07:00
Jakub Szuppe
1ddd124495 Add fill() and fill_n() tests for every built-in type 2015-05-25 16:11:24 +02:00
Kyle Lutz
0ec7fae3ca Merge pull request #459 from haahh/pr_improving_find_extrema_perf
find_extrema based on parallel reduction
2015-05-21 07:57:30 -07:00
Jakub Szuppe
e6af5dc632 Suppress warnings caused by BOLT library 2015-05-21 13:27:14 +02:00
Jakub Szuppe
4c20b3fb52 Add find_extrema based on parallel reduction
This adds find_extrema_reduce function based on parallel reduction.
Now find_extrema uses find_extrema_with_atomics only if local memory size
requirements for running find_extrema_reduce are not met.
2015-05-21 13:27:06 +02:00
Jakub Szuppe
abd0d8d355 Fix std::max_element() benchmark
It removes the situation when compiler is optimizing out std::max_element()
call entirely because its result is never used.
2015-05-19 13:02:17 +02:00
Kyle Lutz
e369b8d3c7 Merge pull request #457 from boostorg/update-github-links
Update GitHub links
2015-05-17 22:03:25 -07:00
Kyle Lutz
fda67a22d0 Update GitHub links 2015-05-17 20:32:09 -07:00
Kyle Lutz
da4af539de Merge pull request #456 from boostorg/fix-transform-if-test
Fix transform_if() test
2015-05-17 20:15:22 -07:00
Kyle Lutz
4d815650bb Merge pull request #455 from boostorg/fix-uniform-int-distribution-ctor
Fix default values in uniform_int_distribution constructor
2015-05-17 20:15:09 -07:00
Kyle Lutz
d5deb08493 Fix transform_if() test
This fixes the transform_if() test to copy to a separate output
vector as in-place operation is not supported.
2015-05-17 12:04:52 -06:00
Kyle Lutz
ca0bf77551 Fix default values in uniform_int_distribution constructor
This fixes the default values for the uniform_int_distribution
constructor to match std::uniform_int_distribution.
2015-05-17 11:37:54 -06:00
Kyle Lutz
4c00484e04 Merge pull request #454 from haahh/pr_valarray_operators
Missing valarray operators
2015-05-15 10:41:39 -06:00
Jakub Szuppe
c2c8eb6e54 Fix valarray support for vector types 2015-05-15 18:12:12 +02:00
Jakub Szuppe
332a412d1a Valarray operators work only with fundamental OpenCL types
Valarray arithmetic, logical and comparison operators work only
when valarray type is built-in OpenCL scalar or vector type.
This also fixes empty macro argument error when compiled with
pedantic and Werror options, and ambiguous 'bind' function call
error.
2015-05-15 18:12:12 +02:00
Jakub Szuppe
28f08dda44 Add valarray operators
This adds missing operators to valarray. Note that in OpenCL it's impossible
to create memory buffer with bool type and because of that valarray<char> is used
as a return type for comparison and logical operators instead of valarray<bool>.
Implemented operators work only for default context (queue) and are asynchronous.
2015-05-15 18:12:07 +02:00
Jakub Szuppe
29dc53b110 Add missing bitwise shift operators 2015-05-15 18:05:44 +02:00
Kyle Lutz
7a943b4f91 Merge pull request #453 from haahh/perf_tests_amd_bolt_pr
Performance tests for AMD's Bolt library
2015-05-06 21:54:41 -07:00
Jakub Szuppe
4248957720 Add missing copyright and license info 2015-05-02 19:46:28 +02:00
Jakub Szuppe
bb1ac41ce5 Add AMD's Bolt perf tests
This adds AMD's Bolt C++ Template Library performance tests, so
Boost.Compute can be compared with Bolt.
2015-05-02 19:46:20 +02: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
1ba5c5d950 Fix make_strided_iterator_end() description
Fix make_strided_iterator_end() description and some comments.
2015-04-18 10:55:32 +02:00
Kyle Lutz
08eb4e311a Merge pull request #451 from ddemidov/offline-cache-optimization
Offline cache optimization
2015-04-14 20:18:47 -07:00
Jakub Szuppe
6c22df7077 Better descriptions and minor refactoring 2015-04-12 22:45:39 +02:00
Jakub Szuppe
7ce179d414 Add make_strided_iterator_end function 2015-04-12 16:05:22 +02: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
Denis Demidov
d4651113e7 Get rid of (potentially huge) temporary strings in offline cache
See #440, #441
2015-04-08 15:20:02 +03:00
Kyle Lutz
72c75f189d Merge pull request #450 from ddemidov/issue-449
Add opencl vector types to the list of fundamental types
2015-04-05 10:50:23 -07:00
Denis Demidov
56ca5f2331 Add opencl vector types to the list of fundamental types
refs #449
2015-04-05 15:27:34 +03:00
Kyle Lutz
6a6a2aaf64 Merge pull request #448 from ddemidov/develop
kernel::get_work_group_info() should be const
2015-04-04 15:55:19 -07:00
Kyle Lutz
9c301324c7 Merge pull request #447 from kylelutz/transform-if
Add transform_if() algorithm
2015-04-04 15:54:32 -07:00
Denis Demidov
a754fcb720 kernel::get_work_group_info() should be const 2015-04-04 22:02:42 +03:00
Kyle Lutz
f9136ed842 Add transform_if() algorithm 2015-03-31 19:45:58 -07:00
Kyle Lutz
415e7a0a21 Merge pull request #444 from haahh/find_benchmark
Benchmarks for find() algorithm #325
2015-03-27 08:17:36 -07:00
Jakub Szuppe
a65de68e0d Making sure compiler won't cut out find() calls
Making sure that compiler won't cut out std::find() and thrust:find()
calls while optimizing the code.
2015-03-27 09:25:47 +01:00
Jakub Szuppe
b1acf0ae74 Benchmarks for find() algorithm
Boost.Compute, STL and Thrust benchmarks for find() algorithm.
2015-03-26 13:50:32 +01:00
Kyle Lutz
0001385196 Merge pull request #439 from kylelutz/reduce-header-includes
Reduce Boost header includes
2015-03-23 21:50:40 -07:00
Kyle Lutz
fca8fcf2be Merge pull request #436 from kylelutz/perf-random-number-engine
Add perf_random_number_engine benchmark
2015-03-23 21:50:19 -07:00
Kyle Lutz
34e042a298 Reduce Boost header includes 2015-03-21 11:38:30 -07:00
Kyle Lutz
a3cbcc8b25 Add perf_random_number_engine benchmark
This unifies the random number engine benchmarks into a single
benchmark application which can switch between each engine based
on a command-line argument.
2015-03-16 20:57:12 -07:00
Kyle Lutz
cc65c5bf16 Merge pull request #435 from kylelutz/travis-gcc48
Use gcc-4.8 on Travis-CI
2015-03-16 20:38:00 -07:00
Kyle Lutz
78db09bf10 Use gcc-4.8 on Travis-CI 2015-03-16 19:55:11 -07:00
Kyle Lutz
a1a7814c28 Merge pull request #434 from kylelutz/parameter-cache
Add parameter_cache class
2015-03-16 19:08:57 -07:00
Kyle Lutz
4175a85171 Add parameter_cache class
This adds a parameter_cache class which can be used to store
execution parameters for an algorithm. Also updates some of
the benchmark programs to find and store optimal parameters.
2015-03-15 18:15:57 -07:00
Kyle Lutz
238ab820ac Merge pull request #433 from haahh/dev_reverse_copy
reverse_copy() performance improvement
2015-03-13 16:26:17 -07:00
Jakub Szuppe
5aace2dde9 Fixing author. 2015-03-14 00:09:36 +01:00
Jakub Szuppe
f95b1ee682 Separate kernel for reverse_copy()
Separate kernel for reverse_copy() algorithm improves its performance,
new tests for reverse_copy_int
2015-03-10 22:25:38 +01:00
Jakub Szuppe
0ab1d5fea2 Add reverse_copy benchmarks 2015-03-10 13:25:12 +01:00