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
Kyle Lutz
fda67a22d0
Update GitHub links
2015-05-17 20:32:09 -07: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
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
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
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
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
34e042a298
Reduce Boost header includes
2015-03-21 11:38:30 -07:00
Kyle Lutz
78db09bf10
Use gcc-4.8 on Travis-CI
2015-03-16 19:55:11 -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
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
Kyle Lutz
d4adfc5feb
Add support for OpenCL-OpenCL sharing on Mac OS X
2015-02-26 14:57:26 -07:00
Kyle Lutz
a71a4e9853
Add begin() and end() methods to extents<N>
2015-02-25 11:06:45 -07:00
Shehzan Mohammed
4961a6177f
BUGFIX enable double for key type in radix sort by key
2015-02-23 12:15:40 -05:00
Kyle Lutz
de76e66dd1
Merge pull request #426 from jmr1/msvc2013
...
MSVC 2013 build fixes
2015-02-22 19:02:45 -07:00
jmr1
9c3d2e0a87
MSVC 2013 workaround for passing one parameter to a variadic template
2015-02-22 17:33:35 +01:00
Kyle Lutz
ca0bc4b7d3
Refactor image classes
2015-02-08 16:26:34 -08:00
Kyle Lutz
6e38dafbd5
Merge pull request #423 from kylelutz/buffer-clone-flags
...
Preserve memory flags in buffer::clone()
2015-02-08 15:06:57 -08:00
Kyle Lutz
a34aaf0456
Merge pull request #422 from kylelutz/no-device-found-exception
...
Add no_device_found exception
2015-02-08 15:06:43 -08:00
Kyle Lutz
8b2788f026
Add no_device_found exception
2015-02-07 12:47:11 -08:00
Kyle Lutz
3c56ea4cbe
Preserve memory flags in buffer::clone()
2015-02-07 12:27:24 -08:00
Kyle Lutz
155ec4b8b9
Disable default context error handler
2015-02-07 10:56:34 -08:00
Bastian Köcher
426fbbb8c4
- Added missing header
2015-01-21 20:03:54 +01:00
Bastian Köcher
1e711e0330
- Rebased with develop branch
...
- Moved include into the test
Conflicts:
test/test_buffer.cpp
2015-01-20 10:19:37 +01:00
Kyle Lutz
f4bf942a31
Merge pull request #412 from bastiankoe/createsubbuffer
...
CreateSubbuffer support
2015-01-16 18:40:01 -08:00
Bastian Köcher
09d3c44cd7
- Added templated register_destructor_callback function and a test for this new functionality
2015-01-16 16:38:25 +01:00
Bastian Köcher
7eba538c55
Merge branch 'develop' into createsubbuffer
2015-01-16 15:59:24 +01:00
Bastian Köcher
78ce892705
- Added testcase for subbuffer creation
...
- Added documentation and asserts for buffer.create_subbuffer function
2015-01-16 15:57:28 +01:00
Bastian Köcher
1e2da6b9c8
- Added function to create a subbuffer
2015-01-15 15:10:50 +01:00
Kyle Lutz
79aa6758f2
Add wait_guard class
2015-01-07 20:19:05 -08:00
Kyle Lutz
5b5eae8270
Change assert() to static_assert() in copy_async()
...
This changes the assert() for contiguous host iterators in
the copy_async() algorithm to a static_assert() so that this
currently unsupported case can be caught at compile-time.
2014-12-30 20:59:04 -08:00
Kyle Lutz
c74c2abc4f
Add four-iterator versions of equal() and mismatch()
2014-12-30 13:44:24 -08:00
Kyle Lutz
d2ea30895d
Merge pull request #395 from roshanr95/includes
...
Make documentation of includes algorithm more clearer
2014-12-30 13:40:36 -08:00
Kyle Lutz
a72ee2f289
Merge pull request #394 from roshanr95/bernoulli-distribution
...
Change default parameter to 0.5
2014-12-30 13:39:13 -08:00
Roshan
35b6ff62ee
Make documentation of includes algorithm more clearer
2014-12-31 02:00:57 +05:30
Roshan
2a24b282f5
Change default parameter to 0.5
2014-12-31 01:55:55 +05:30
Kyle Lutz
cfdb10c808
Move is_device_iterator to the public API
2014-12-30 10:06: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