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

519 Commits

Author SHA1 Message Date
Jakub Szuppe
88beaa0502 Add asynchronous versions of a few methods in command_queue class
Add asynchronous versions for enqueue_map_buffer(), enqueue_read_buffer_rect()
and enqueue_write_buffer_rect().
2015-09-12 16:26:09 +02:00
Jakub Szuppe
5c99e3f7f3 enqueue_map_buffer returns associated event through parameter 2015-09-12 16:26:09 +02:00
Kyle Lutz
377e509acd Merge pull request #472 from msuchard/master
Apple NVIDIA vendor name does not include Corporation
2015-06-24 21:54:23 -07:00
Marc Suchard
7009451dbf Apple NVIDIA vendor does not include Corporation 2015-06-24 14:53:59 -07:00
Kyle Lutz
2298aa5ff1 Merge pull request #468 from haahh/custom_funcs_for_scan
Support for custom functions in inclusive and exclusive scan
2015-06-24 08:30:06 -07:00
Jakub Szuppe
7bea0b13a1 Support for a custom function in exclusive and inclusive scan 2015-06-24 08:39:45 +02:00
Kyle Lutz
20ff5cbfb7 Fix compilation error in find_extrema_reduce() 2015-06-23 22:03:19 -07:00
Jakub Szuppe
feeab7a277 Add single-argument constructor for vector types 2015-06-23 10:14:50 +02:00
Kyle Lutz
1c68d8a73b Merge pull request #443 from bkchr/runtime_version_checking
Runtime version checking
2015-06-22 19:59:53 -07:00
Bastian Köcher
60f4b31bdd Add runtime version checking in the command_queue functions and fixed bug with context::get_device().
This adds runtime version checking in the command_queue functions which fixes issues if you compile
with OpenCL2.x and run your code on OpenCL1.x devices.
Fixed bug with context::get_device() if the context contains more than one device.
2015-06-04 11:59:54 +02:00
Junaid Muzammil
a9c373f92c Merge remote-tracking branch 'newrepo/develop' into develop 2015-06-02 19:18:00 +05: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
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
Anees Haider
b979ff527d Added Threefry RNG to performance benchmark 2015-04-06 09:51:53 +05:00
Anees Haider
b565232b8e Merge remote-tracking branch 'compute/develop' 2015-04-06 09:33:52 +05:00
Junaid Muzammil
31342d7e53 Threefry generate signature modification 2015-04-05 21:27:31 +05: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
Muhammad Junaid Muzammil
61e16c8963 Overloaded Method for default Key Values 2015-04-02 00:26:06 +05:00
Kyle Lutz
f9136ed842 Add transform_if() algorithm 2015-03-31 19:45:58 -07:00
Junaid Muzammil
1c41612c9a Unit Test Fixed and Comments Added 2015-03-29 00:57:56 +05:00
Junaid Muzammil
1c75d5752d Necessary Changes Made to Threefry Engine as recommended 2015-03-28 18:06:01 +05:00
Junaid Muzammil
44c54d4f7a Refactored Threefry RNG 2015-03-22 18:04:01 +05:00
Muhammad Junaid Muzammil
37e060d0ca Threefry Random 123 Support Added 2015-03-22 16:53:47 +05: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