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

470 Commits

Author SHA1 Message Date
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
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
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
Pavan Yalamanchili
10890fd7d1 BUG FIX: sort_by_key now works with larger vector sizes.
- sort_by_key now calls radix_sort for size >= 32 even with Compare
2014-12-15 14:57:49 -05:00
Kyle Lutz
57eec36d20 Release v0.4 2014-12-14 17:03:36 -08: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
17e0e5e686 Add cl_gl_ext.hpp forwarding header 2014-12-06 12:15:22 -08:00
Kyle Lutz
1c3703beea Merge pull request #329 from kylelutz/fully-qualify-bind
Fully qualify call to bind() in nth_element()
2014-12-03 23:26:24 -08:00
Kyle Lutz
5974366313 Merge pull request #324 from kylelutz/refactor-dispatch-sort
Refactor dispatch_sort() function
2014-12-03 23:26:16 -08:00
Kyle Lutz
5696537619 Fully qualify call to bind() in nth_element() 2014-12-03 22:24:23 -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
faddbf2368 Refactor dispatch_sort() function 2014-12-02 21:52:06 -08:00
Roshan
12bbd995a3 Add support for comparator in merge 2014-12-02 12:59:36 +05:30
Roshan
b848b44c40 Fix bug in balanced path
Fixed a bug with precedence when the comparison function is not
enclosed in parentheses
2014-12-02 12:58:55 +05:30
Kyle Lutz
16fdb15395 Add identity<T>() function 2014-11-29 10:19:53 -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
Kyle Lutz
5e7fb41e73 Merge pull request #312 from Mageswaran1989/string_find_string
oveloaded find() for string and char pointer
2014-11-26 22:23:02 -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
8ae2b4ec23 Fix compilation error in dispatch_copy() with Boost 1.57 2014-11-25 23:16:10 -08:00
robotrovsky
bd845fea46 Fixed OpenCL 2.0 Header compatibility 2014-11-20 18:43:51 +01:00