Jakub Szuppe
e357a6a338
Test if min/max_element algorithms return the first min/max in given range
2015-10-03 18:20:48 +02:00
Kyle Lutz
dba4da7dcd
Skip fill() tests with double if not supported by device
...
This skips the tests for fill() and fill_n() with double values
if the device does not support the cl_khr_fp64 extension.
2015-10-01 22:49:43 -07:00
Kyle Lutz
0b4509afea
Merge pull request #520 from jpola/scatter_if
...
scatter if operation
2015-10-01 20:40:39 -07:00
Jakub Pola
e5050cbbe9
fix for initialization of output vector
2015-09-29 09:27:50 +02:00
Kyle Lutz
2c9d77413f
Merge pull request #519 from haahh/pr_ocl_runtime_check_in_tests
...
Runtime OpenCL version check in tests
2015-09-28 19:52:10 -07:00
Kyle Lutz
b2e2bdfb0d
Merge pull request #510 from haahh/dev_events_for_queue_enqueue_methods
...
Events for queue enqueue_map_ methods
2015-09-28 19:50:10 -07:00
Jakub Pola
c6c7f4a679
Copyrights fixes
2015-09-28 21:16:31 +02:00
Jakub Pola
f25b47d6f3
scatter if operation
2015-09-28 17:17:10 +02:00
Jakub Szuppe
1b059f8100
Runtime OpenCL version check in tests
2015-09-24 15:44:52 +02:00
Kyle Lutz
c75f5dc858
Merge pull request #516 from boostorg/adapt-struct-array
...
Add array support to BOOST_COMPUTE_ADAPT_STRUCT()
2015-09-20 16:58:55 -07:00
Kyle Lutz
44b0decb1f
Merge pull request #514 from haahh/pr_fix_binary_find
...
Fix and improve binary_find
2015-09-20 16:58:05 -07:00
Kyle Lutz
346a11a6c0
Merge pull request #512 from boostorg/zip-constant-iterator
...
Add test for zip_iterator with constant_iterator
2015-09-20 16:54:28 -07:00
Kyle Lutz
68155f7597
Add array support to BOOST_COMPUTE_ADAPT_STRUCT()
...
This adds support for C-style arrays (e.g. "int array[10]") to the
BOOST_COMPUTE_ADAPT_STRUCT() macro.
Thanks to Fabian Bösch for providing the code.
2015-09-19 18:28:17 -05:00
Jakub Szuppe
ff51c44434
Fix test for binary_search, lower_bound and upper_bound
...
Previous test data was too small to properly test binary_find which
is used in binary_search, lower_bound and upper_bound algorithms.
2015-09-19 19:11:14 +02:00
Kyle Lutz
70bdf310d3
Add test for zip_iterator with constant_iterator
2015-09-15 12:56:11 -05:00
Kyle Lutz
f04b1aabde
Merge pull request #511 from haahh/pr_fix_search_search_n
...
Fix for search and search_n algorithm
2015-09-15 12:41:10 -05:00
Jakub Szuppe
0e51ad4ad8
Fix for search and search_n algorithm
2015-09-12 19:29:16 +02:00
Jakub Szuppe
55a7f874a6
Add missing enqueue_map_image method in command queue
2015-09-12 16:26:10 +02:00
Lorenzo Pistone
9211260bcc
fix a few instances where the device type is not used as a bit mask
2015-09-11 12:21:11 +02:00
Kyle Lutz
239f4a247c
Merge pull request #498 from boostorg/invoke
...
Add invoke() utility function
2015-09-01 21:49:54 -07:00
Kyle Lutz
cf5e40ee26
Merge pull request #497 from haahh/pr_find_extrema_supports_custom_comparision
...
Support for custom comparison function in find_extrema()
2015-08-19 20:24:04 -07:00
Kyle Lutz
ef109b75d5
Add invoke() utility function
...
This adds an invoke() function which calls an OpenCL function on a
device with the given arguments.
2015-08-19 08:18:15 -07:00
Jakub Szuppe
a50dae747d
Support for custom comparision function in find_extrema() and min/max_element()
2015-08-19 13:42:22 +02:00
Kyle Lutz
ffd35b09eb
Merge pull request #487 from haahh/pr_boost_inspection_overlooked_minmax
...
Fix overlooked violation of the Boost min/max guidelines
2015-08-01 09:10:47 -07:00
Kyle Lutz
f278c66c14
Merge pull request #486 from haahh/pr_sort_cpu
...
CPU-targeted merge sort
2015-08-01 09:10:13 -07:00
Jakub Szuppe
bf78ec5ff1
Fix overlooked violation of the Boost min/max guidelines
2015-08-01 13:24:00 +02:00
Jakub Szuppe
5a9b30176d
Add more tests for sort
2015-07-30 19:53:08 +02:00
Kyle Lutz
15a778d84a
Merge pull request #480 from haahh/pr_boost_inspection
...
Fixing problems reported in Boost Inspection Report
2015-07-18 11:01:57 -07:00
Jakub Szuppe
7a8d078926
Update Boost macros, macros style unification
2015-07-18 16:12:24 +02:00
Jakub Szuppe
7e12f63a81
Add missing Boost license info and copyrights
2015-07-18 14:01:29 +02:00
Jakub Szuppe
dbf751e7fc
Convert tabs to spaces
2015-07-16 21:18:12 +02:00
Jakub Szuppe
350f2c93a8
Fix violations of Boost min/max guidelines
2015-07-16 21:18:08 +02:00
Kyle Lutz
7059a30c3a
Merge pull request #477 from haahh/pr_reduce_by_key
...
Reduce by key algorithm
2015-07-15 08:32:22 -07:00
Jakub Szuppe
706af4fce8
Reduce by key algorithm (serial implementation)
2015-07-15 11:06:23 +02:00
Jakub Szuppe
7894d1f7c0
Add missing queue and context parameters in tests
2015-07-02 22:20:42 +02: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
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
1ddd124495
Add fill() and fill_n() tests for every built-in type
2015-05-25 16:11:24 +02:00
Kyle Lutz
fda67a22d0
Update GitHub links
2015-05-17 20:32: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
4c00484e04
Merge pull request #454 from haahh/pr_valarray_operators
...
Missing valarray operators
2015-05-15 10:41:39 -06: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
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
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
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
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
Muhammad Junaid Muzammil
37e060d0ca
Threefry Random 123 Support Added
2015-03-22 16:53:47 +05: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
a1e3366ade
Add Boost.Build support
2015-03-01 09:36:59 -08:00
Kyle Lutz
a71a4e9853
Add begin() and end() methods to extents<N>
2015-02-25 11:06:45 -07:00
Kyle Lutz
de76e66dd1
Merge pull request #426 from jmr1/msvc2013
...
MSVC 2013 build fixes
2015-02-22 19:02:45 -07:00
jmr1
bf233d833c
Missing using declaration
2015-02-22 17:21:36 +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
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
Kyle Lutz
316109abd4
Merge pull request #410 from kylelutz/wait-guard
...
Add wait_guard class
2015-01-16 18:39:18 -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
Kyle Lutz
79aa6758f2
Add wait_guard class
2015-01-07 20:19:05 -08:00
Kyle Lutz
8b27e22b2f
Add test for vector::resize() exception-safety
2015-01-07 20:17:26 -08:00
Kyle Lutz
01643e7f9a
Add test for equality with std::accumulate()
2014-12-30 16:12:55 -08:00
Kyle Lutz
6609a54c00
Merge pull request #399 from kylelutz/rename-misc-tests
...
Rename miscellaneous tests
2014-12-30 15:26:09 -08:00
Kyle Lutz
7f962e6078
Rename miscellaneous tests
2014-12-30 14:50:47 -08:00
Kyle Lutz
c48c4dd086
Fix local_buffer test when checking local memory size
...
This fixes a test failure for implementations which don't
properly report dynamically set local memory buffer sizes.
2014-12-30 14:42:52 -08:00
Kyle Lutz
c74c2abc4f
Add four-iterator versions of equal() and mismatch()
2014-12-30 13:44:24 -08:00
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
Kyle Lutz
e3bbce456b
Merge pull request #352 from kylelutz/rename-types-builtin
...
Rename types/builtin.hpp to types/fundamental.hpp
2014-12-21 09:15:29 -08:00
Kyle Lutz
c97c83a562
Rename types/builtin.hpp to types/fundamental.hpp
2014-12-20 13:39:50 -08:00
Kyle Lutz
73b246603b
Add for_each_n() algorithm
2014-12-20 13:30:36 -08:00
Kyle Lutz
885a2ad135
Improve documentation
2014-12-20 10:39:38 -08:00
sschaet
ea7e0a0993
fixing CHECK_RANGE_EQUAL
...
if the container passed to CHECK_RANGE_EQUAL is larger than the
expected range, the copy writes over the the boundaries of the
created buffer _actual.
2014-12-17 21:13:01 +01:00
Kyle Lutz
c4d49cef20
Merge pull request #341 from kylelutz/device-platform
...
Add device::platform() method
2014-12-14 10:58:38 -08:00
Kyle Lutz
2bab2c5ee7
Add device::platform() method
2014-12-13 11:25:11 -08:00
Kyle Lutz
a4a6614895
Add program_cache to the public API
2014-12-13 10:38:56 -08:00
Kyle Lutz
1a591e277b
Add result_of<F(Args...)> meta-function
2014-12-10 22:58:54 -08:00
Kyle Lutz
8883a85fec
Merge pull request #330 from Mageswaran1989/histogram_example
...
added histogram example based on opencv
2014-12-10 20:12:11 -08:00
Mageswaran.D
010753db26
added histogram example based on opencv
2014-12-10 22:43:23 +05:30
Kyle Lutz
848d95601e
Merge pull request #335 from kylelutz/flat-map-custom-kernel
...
Add test for flat_map with custom kernel
2014-12-07 13:50:34 -08:00
Kyle Lutz
d62c214ddd
Add test for flat_map with custom kernel
2014-12-07 13:38:26 -08:00
Kyle Lutz
425a9c006f
Add utility directory
...
This adds a new utility directory and moves some of the utility
functions and classes (e.g. dim(), extents, wait_list) there.
2014-12-06 12:51:25 -08:00
Kyle Lutz
4185694366
Add extents<N> class
...
This adds an extents<N> class which stores an array of n-dimensional
extent values. This can be used to represent an ND-range for launching
an OpenCL kernel or for storing the size/shape of a 2D/3D image.
Also adds a variadic dim() function which provides a concise syntax
for creating extents<N> objects.
2014-12-02 22:42:24 -08:00
Kyle Lutz
fa75a66253
Merge pull request #318 from kylelutz/identity-function
...
Add identity<T>() function
2014-11-29 10:28:26 -08:00
Kyle Lutz
16fdb15395
Add identity<T>() function
2014-11-29 10:19:53 -08:00
Kyle Lutz
3e3f46d144
Define BOOST_COMPUTE_DEBUG_KERNEL_COMPILATION for tests
2014-11-28 13:20:21 -08:00
Kyle Lutz
85e03f7e69
Merge pull request #315 from kylelutz/copy-to-vector-bool
...
Fix issue with copy() and std::vector<bool>
2014-11-28 12:34:46 -08:00
Mageswaran.D
9d813a2309
oveloaded find() for string and char pointer
2014-11-27 11:31:43 +05:30
Kyle Lutz
a6bdf21b31
Fix issue with copy() and std::vector<bool>
2014-11-26 08:46:39 -08:00
Kyle Lutz
1e0505d79c
Merge pull request #311 from f-koehler/pr229
...
Reimplemented unit tests for unsupported extension and context error
2014-11-24 08:02:36 -08:00
f-koehler
d57fa9ffb0
reimplemented unit tests for unsupported extension and context error
2014-11-24 16:13:58 +01:00
Kyle Lutz
16834b9fb4
Improve documentation
2014-11-19 23:29:28 -08:00
Kyle Lutz
7ffd2224e8
Merge pull request #307 from Mageswaran1989/lexicographical_compare
...
added lexicographical_compare algorithm & test cases
2014-11-19 10:44:10 -08:00
Mageswaran.D
af7e38d2ce
added lexicographical_compare algorithm & test cases
2014-11-19 23:49:10 +05:30
Kyle Lutz
3183effcb0
Merge pull request #306 from shehzan10/test-event-nvidia-fix
...
Adding OpenCL 1.2 required for NVIDIA when build with C++11
2014-11-11 21:57:30 -08:00
Shehzan Mohammed
ed94d4176a
Adding OpenCL 1.2 required for NVIDIA when build with C++11
2014-11-11 14:00:24 -05:00
Kyle Lutz
53a869a7a1
Merge pull request #305 from kylelutz/stable-sort-radix-sort
...
Use radix_sort() for stable_sort() when possible
2014-11-10 21:24:14 -08:00
Kyle Lutz
88d19723e3
Use radix_sort() for stable_sort() when possible
2014-11-09 11:06:47 -08:00
Kyle Lutz
5c1aac441c
Fix bug when calling radix_sort() with partial ranges
2014-11-09 10:53:23 -08:00
Mageswaran.D
4b50a5c1dc
added support for output stream(cout<<) for compute::string : updated
2014-11-09 03:07:51 +05:30
Kyle Lutz
52eab193e7
Merge pull request #301 from Mageswaran1989/swap_api_string_class
...
added swap api for string class
2014-11-07 12:03:08 -08:00
Mageswaran.D
119e201c94
added swap api for string class
2014-11-07 23:51:00 +05:30
Kyle Lutz
a11fda7aa3
Merge pull request #295 from Mageswaran1989/String_find-issue288
...
String find issue288
2014-11-05 07:56:58 -08:00
Kyle Lutz
f1c61c796e
Add version check to kernel::get_arg_info() test
2014-11-04 20:08:45 -08:00
Mageswaran.D
bdc6d79e4d
String::find() signed char fix with test case
2014-11-04 13:06:11 +05:30
Kyle Lutz
ad33665b89
Add type_definition<T>() function
2014-09-30 22:24:31 -07:00
Kyle Lutz
e7578b697f
Merge pull request #272 from kylelutz/improve-test-coverage
...
Improve test coverage
2014-09-29 21:26:21 -07:00
Kyle Lutz
eef75bf1fa
Merge pull request #269 from kylelutz/thread-safe
...
Use thread-local storage for global program cache
2014-09-29 20:41:54 -07:00
Kyle Lutz
f300370366
Add test for platform class
2014-09-29 20:30:39 -07:00
Kyle Lutz
872dea05ef
Add test for fill() with empty range
2014-09-29 20:01:21 -07:00
Kyle Lutz
8022923dbf
Add test case for count_if_with_reduce() function
2014-09-29 19:51:08 -07:00
Kyle Lutz
4da55a4f94
Add test for sort3() function
2014-09-29 19:45:39 -07:00
Kyle Lutz
05afa5f707
Use thread-local storage for global program cache
2014-09-28 12:37:48 -07:00
Kyle Lutz
10d79c6689
Fix bug when using bind() with adapted structs
2014-09-27 11:42:29 -07:00
Kyle Lutz
0b0cbd399e
Merge pull request #265 from roshanr95/uniform_int_distribution
...
Uniform int distribution
2014-09-21 11:06:08 -07:00
Kyle Lutz
7e05c0f9a5
Merge pull request #262 from kylelutz/opencl-2.0
...
Add OpenCL 2.0 support
2014-09-21 11:05:15 -07:00
roshanr
d2c25ef582
Add test to reflect issue #159
2014-09-20 12:30:17 +05:30
Kyle Lutz
cdcd4c5a32
Refactor get_info() functions
2014-09-13 18:42:43 -07:00
Kyle Lutz
ec254c04bb
Add OpenCL 2.0 support
2014-09-13 12:29:03 -07:00
Kyle Lutz
60f0709bc1
Merge pull request #259 from kylelutz/dynamic-bitset
...
Add dynamic_bitset class
2014-09-07 11:37:50 -07:00
Kyle Lutz
8310e8e729
Add dynamic_bitset class
2014-09-07 11:21:46 -07:00
Kyle Lutz
49fc80d204
Fix bug when using popcount() with ulong
2014-09-07 11:00:46 -07:00
Kyle Lutz
94d182d47d
Rearrange allocator headers
...
This moves the allocator headers from 'container' to a new
top-level 'allocator' directory.
Also renames allocator<T> to buffer_allocator<T>.
2014-09-06 09:51:46 -07:00
Kyle Lutz
891aff215d
Fix bug when calling reduce() with empty ranges
2014-09-04 20:42:37 -07:00
Kyle Lutz
744359715f
Implement is_sorted() with adjacent_find()
2014-08-21 22:43:46 -07:00
Kyle Lutz
c69ea170fb
Remove adjacent_transform_iterator class
2014-08-21 07:00:13 -07:00
Kyle Lutz
b3ea818248
Rewrite unique() algorithm
2014-08-21 07:00:10 -07:00
Kyle Lutz
b533df6a5c
Rewrite adjacent_find() algorithm
2014-08-20 22:46:51 -07:00
Kyle Lutz
45c5ec3281
Rewrite adjacent_difference() algorithm
2014-08-20 22:43:27 -07:00
Kyle Lutz
8c7efd24fd
Add support for multi-device contexts
2014-08-13 20:28:34 -07:00
Kyle Lutz
bd427b8a1b
Merge pull request #224 from kylelutz/capture-containers-with-closure
...
Capture containers with closure
2014-08-09 09:00:43 -07:00
Kyle Lutz
1c746a9c6e
Merge pull request #227 from ddemidov/issue-218
...
The test_closure does not require any OpenCL 1.2 features
2014-08-09 08:58:05 -07:00
Denis Demidov
a6467c9ec4
The test_closure does not require any OpenCL 1.2 features
...
see #218
2014-08-09 15:40:40 +04:00
Kyle Lutz
fd8c8f934b
Support capturing containers with BOOST_COMPUTE_CLOSURE()
2014-08-07 22:20:16 -07:00
Kyle Lutz
95c331fa84
Capture references with BOOST_COMPUTE_CLOSURE()
2014-08-07 20:57:34 -07:00
Kyle Lutz
71a2787713
Merge pull request #213 from f-koehler/issue119
...
test for program::source()
2014-08-06 19:20:54 -07:00
fkoehler
dfd5724308
test for program::source()
2014-08-06 13:24:38 +02:00
Kyle Lutz
4703488c45
Merge pull request #212 from roshanr95/nth-element
...
Nth element
2014-08-05 19:00:30 -07:00
roshanr
30082abd59
Improve nth_element performance and unit testing
2014-08-05 22:12:45 +05:30
f-koehler
15f9793bd8
choose qt4 or qt5
2014-08-05 16:36:46 +02:00
Kyle Lutz
2f948a9903
Add test for count_if() with custom function
2014-07-31 20:26:47 -07:00
Kyle Lutz
8a11a320d3
Merge pull request #203 from f-koehler/master
...
explicitly look for Qt4 and not for Qt in general
2014-07-29 18:30:16 -07:00
fkoehler
b70df00ce4
explicitly look for Qt4 and not for Qt in general
2014-07-29 13:23:43 +02:00
Kyle Lutz
f21abdff7e
Add bind() function
2014-07-27 10:33:59 -07:00
Denis Demidov
201f85a038
Skip tests requiring OpenCL 1.2 on usupported devices
2014-07-12 22:54:16 +04:00
Kyle Lutz
86199873b7
Fix partition_by_counts test for Intel CPUs
...
This fixes a test failure in partition_by_counts for Intel CPU
devices. The clCreateSubDevices() function is not guaranteed to
return the sub-devices in the same order as they were specified
in the compute unit counts argument.
Now the test sorts the returned sub-devices by number of compute
units and checks that each specified count is present.
See issue #185 .
2014-07-12 08:52:26 -07:00
Kyle Lutz
9dc87712e9
Improve documentation
2014-07-11 23:25:41 -07:00
Kyle Lutz
a4ae254adc
Rename mersenne_twister_engine header
...
This renames the mersenne_twister_engine header from
"mersenne_twister.hpp" to "mersenne_twister_engine.hpp".
2014-07-11 22:27:16 -07:00
Kyle Lutz
94306ce2e8
Merge pull request #179 from kylelutz/deprecate-device-ptr
...
Move device_ptr to the detail namespace
2014-07-10 20:02:39 -07:00
Kyle Lutz
9106222e61
Merge pull request #178 from kylelutz/equality-operators
...
Add equality operators for all wrapper classes
2014-07-09 22:10:36 -07:00
Kyle Lutz
e0535d7233
Move device_ptr to the detail namespace
...
This deprecates the device_ptr class and moves it to the detail
namespace. The buffer_iterator class should be used instead of
device_ptr for referencing a memory location on the device.
2014-07-08 21:04:23 -07:00
Kyle Lutz
7d377989ee
Add equality operators for all wrapper classes
2014-07-08 20:33:02 -07:00
Kyle Lutz
4a1b3edf48
Fix resize bug with vector::assign()
...
This fixes a bug in which vector::assign() would not resize
itself to accommodate the assigned values. Now the behavior
matches that of std::vector.
2014-07-07 21:56:39 -07:00
Kyle Lutz
cae813ec3c
Add get_info<Info>() specializations
2014-07-07 19:14:14 -07:00
Kyle Lutz
c156ca7198
Merge pull request #169 from kylelutz/hash-function
...
Add hash() function
2014-07-07 08:02:09 -07:00
Kyle Lutz
6af32b3d8f
Add hash() function
2014-07-02 23:24:18 -07:00
Kyle Lutz
90217d055b
Add compile() and link() methods to program
2014-07-02 22:32:58 -07:00
Kyle Lutz
2fa478a11f
Merge pull request #158 from roshanr95/search-algorithms
...
Search algorithms
2014-06-25 18:37:56 -07:00
roshanr
f3d20639f7
Change function signature of search algorithms to match STL versions
2014-06-26 01:27:21 +05:30
Kyle Lutz
9f74b5290e
Enable OpenCV on Travis-CI
2014-06-24 20:54:02 -07:00
roshanr
fd2506b161
Add quick and dirty linear congruential engine
2014-06-18 02:47:00 +05:30
Kyle Lutz
3ac85e3fbc
Merge pull request #141 from roshanr95/discrete_distribution
...
Add discrete_distribution
2014-06-16 18:39:59 -07:00
roshanr
a0a7a85d0d
Add discrete_distribution
2014-06-16 03:01:36 +05:30
roshanr
79063d4fb4
Add uniform_int_distribution
2014-06-15 02:28:59 +05:30
Kyle Lutz
3bf34f368b
Fix test for copy_async()
2014-06-08 23:51:08 -07:00
Kyle Lutz
6ea122adb7
Add support for specifying wait-lists in command_queue
2014-06-08 22:23:59 -07:00
Kyle Lutz
57470c48c2
Add device::get() method
2014-06-08 14:03:27 -07:00
Kyle Lutz
a639e408b8
Cleanup move-semantics for all core types
2014-06-08 13:40:27 -07:00
Kyle Lutz
c2c1346f19
Rename event::get_status() to event::status()
2014-06-08 10:45:35 -07:00
Kyle Lutz
69e483696b
Use reduce() for accumulate() with min()/max()
2014-06-08 10:35:49 -07:00
Kyle Lutz
5c5e813b04
Fix typo in mapped_view test
2014-06-08 09:04:51 -07:00
Kyle Lutz
60aca4401b
Simplify the program::create_kernel() implementation
2014-06-07 19:58:36 -07:00
Kyle Lutz
732ab539f3
Improve documentation
2014-06-07 15:03:56 -07:00
Kyle Lutz
b228de76a7
Add memory_object::set_destructor_callback() method
2014-06-07 11:13:52 -07:00
Kyle Lutz
d30dcfb564
Use clEnqueueWriteBuffer() for writing single values with fill()
2014-06-06 23:10:27 -07:00
Kyle Lutz
2ca2c16839
Swap allocators in vector::swap()
2014-06-06 08:29:45 -07:00
Kyle Lutz
36681a6ad5
Merge pull request #131 from roshanr95/bernoulli-distribution
...
Add bernoulli distribution
2014-06-04 18:41:37 -07:00
roshanr
1777b7e5bf
Add bernoulli distribution
2014-06-04 03:41:19 +05:30
roshanr
b772ae4849
Add algorithm and test for is_permutation
2014-06-01 06:01:38 +05:30
roshanr
5e08e1b0b6
Add algorithm and test for prev_permutation
2014-06-01 06:01:31 +05:30
Kyle Lutz
ff11312fd5
Merge pull request #126 from roshanr95/next_permutation
...
Add algorithm and test for next_permutation
2014-05-29 23:16:31 -07:00
roshanr
e4f0783ecd
Add algorithm and test for next_permutation
2014-05-29 22:31:11 +05:30
roshanr
c8d4836a6f
Add partition_point algorithm and test
2014-05-26 03:43:19 +05:30
Kyle Lutz
52886775f8
Support conversion of lambda expressions to function objects
2014-05-24 13:42:43 -07:00