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

410 Commits

Author SHA1 Message Date
Pradeep Garigipati
505d1ac0ec Bugfix to avoid conflicts with macro definitions on windows platform 2014-11-07 15:31:06 -05:00
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
Roshan
635f365058 Rename tile_sets kernel, add support for comparator
Rename the tile_sets kernel to balanced_path for consistency with
merge_path. Also add support for giving a custom comparator.
2014-10-16 12:49:50 +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
f3158959ed Fix return value for dispatch_fill_async() 2014-09-29 20:01:17 -07:00
Kyle Lutz
44895606ac Merge pull request #268 from kylelutz/search-use-find
Change search() and search_n() to use find()
2014-09-28 14:38:35 -07:00
Kyle Lutz
05afa5f707 Use thread-local storage for global program cache 2014-09-28 12:37:48 -07:00
Kyle Lutz
76a416c5a9 Change search() and search_n() to use find() 2014-09-28 10:16:14 -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
ba09a9f3d0 Fix issue #159 2014-09-20 15:35:35 +05:30
Kyle Lutz
4b10ea608b Merge pull request #264 from kylelutz/refactor-get-info
Refactor get_info() functions
2014-09-14 21:13:36 -07:00
Kyle Lutz
cdcd4c5a32 Refactor get_info() functions 2014-09-13 18:42:43 -07:00
Kyle Lutz
7912b344d1 Add variadic bind() implementation 2014-09-13 13:18:16 -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
a4c11ddb5d Merge pull request #243 from kylelutz/address-space-enum
Address space enum
2014-09-06 12:04:50 -07:00
Kyle Lutz
d44af78be5 Use address_space enum for meta_kernel::add_arg() 2014-09-06 11:43:31 -07:00
Kyle Lutz
c5546c92a1 Add address_space enum to memory_object 2014-09-06 11:37: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
0151195871 Remove usage of 'uint' in linear_congruential_engine 2014-08-25 23:35:17 -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
roshanr
515e1b29ba Enforce same tile_size for all kernels 2014-08-18 16:55:20 +05:30
Kyle Lutz
417a50e3f3 Merge pull request #238 from roshanr95/templating
Modify templating
2014-08-15 19:30:34 -07:00
roshanr
d10d992f62 Move templating from kernel to its member function 2014-08-15 20:32:18 +05:30
Kyle Lutz
8c7efd24fd Add support for multi-device contexts 2014-08-13 20:28:34 -07:00
Kyle Lutz
9f5cc79606 Merge pull request #228 from roshanr95/merge
Merge algorithm
2014-08-11 19:59:17 -07:00
roshanr
c48760fd90 Add a merge-path based merge algorithm and change merge to use it
Added a merge_path kernel and a merge algorithm based on it.
Also changed merge to use the new algorithm.
2014-08-10 07:29:08 +05:30