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

447 Commits

Author SHA1 Message Date
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
Kyle Lutz
16834b9fb4 Improve documentation 2014-11-19 23:29:28 -08:00
Kyle Lutz
f53a2b3a8d Add read() and write() methods to buffer_iterator 2014-11-19 22:08:45 -08:00
Mageswaran.D
af7e38d2ce added lexicographical_compare algorithm & test cases 2014-11-19 23:49:10 +05:30
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
0bdcf3601a Merge pull request #302 from 9prady9/windows_macro_errors
min, max macro conflicts on windows platform
2014-11-07 22:35:34 -08:00
Pradeep Garigipati
505d1ac0ec Bugfix to avoid conflicts with macro definitions on windows platform 2014-11-07 15:31:06 -05:00
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
c5cd43bf0b Merge pull request #299 from shehzan10/unused-warning-fixes
Removing unused variables that cause warnings
2014-11-05 20:03:18 -08:00
Shehzan Mohammed
ee4e2a03f2 Removing unused variables that cause warnings 2014-11-05 17:54:46 -05:00
Kyle Lutz
e8cccb517c Use ulong_ instead of size_type for dynamic_bitset::count()
This fixes the following compilation error on Mac OS X:

"error: implicit instantiation of undefined template
'boost::compute::detail::type_name_trait<unsigned long>'"
2014-11-05 08:13:08 -08:00
Kyle Lutz
a11fda7aa3 Merge pull request #295 from Mageswaran1989/String_find-issue288
String find issue288
2014-11-05 07:56:58 -08:00
Mageswaran.D
1dca7c7734 updated with lit<char> instead int 2014-11-04 13:21:40 +05:30
Mageswaran.D
bdc6d79e4d String::find() signed char fix with test case 2014-11-04 13:06:11 +05:30
Kyle Lutz
b45da6f052 Fix issue when calling fill() with empty range 2014-11-01 10:47:00 -07:00
Kyle Lutz
934c04fbb2 Remove usage of deprecated clEnqueueTask()
This removes the usage of the deprecated clEnqueueTask()
function when compiled with OpenCL 2.0 or later.
2014-10-29 23:04:47 -07:00
Kyle Lutz
34baff744d Add documentation for BOOST_COMPUTE_DEFAULT_DEVICE_TYPE 2014-10-24 06:05:26 -07:00
cwkx
1c5b6af7fc Update context.hpp
Fix compilation on windows
2014-10-23 16:01:23 +01:00
Kyle Lutz
e25f167088 Merge pull request #279 from pentschev/adjacent_difference_temp_vector
Added temporary vector to adjacent_difference().
2014-10-22 23:13:06 -04:00
Peter Andreas Entschev
c117648c4c Added temporary vector to adjacent_difference().
The intermediary temporary vector fixes an issue where first element of a work
group can be corrupted when output vector is the same as the input.
2014-10-16 13:56:19 -03:00