roshanr
747fe2d41f
Search algorithm
...
Add algorithm and test for search()
2014-05-04 23:41:43 +05:30
roshanr
f49f8ca36a
Add kernel for pattern matching
...
Finds all matches. Can tell if there is a match starting at a
particular index.
2014-05-03 01:52:39 +05:30
Kyle Lutz
127b350411
Remove unnecessary typename in function.hpp and closure.hpp
...
This fixes a warning when compiling these files with clang.
2014-04-20 19:34:21 -07:00
Kyle Lutz
4b67907023
Change BOOST_COMPUTE_FUNCTION() to use custom argument names
...
This changes the BOOST_COMPUTE_FUNCTION() macro (and the related
BOOST_COMPUTE_CLOSURE() macro) to use custom, user-provided argument
names instead of auto-generating them based on their index.
This is an API-breaking change. Users should now provide argument
names when using the BOOST_COMPUTE_FUNCTION() macro. The examples
and documentation have been updated to reflect the new API.
2014-04-20 19:13:48 -07:00
Kyle Lutz
2511bdb436
Merge pull request #97 from roshanr95/unique
...
Fix errors in unique
2014-04-20 16:42:56 -07:00
roshanr
3f537d806e
Add unique_copy, modify unique to use it
2014-04-21 01:43:10 +05:30
Kyle Lutz
a78212fdde
Rename K to K_BITS in radix_sort()
...
This should fix the following error seen on the Apple OpenCL
implementation when compiling the radix_sort program: "error:
definition of macro 'K' conflicts with an identifier used in
the precompiled header".
2014-04-20 10:16:02 -07:00
Kyle Lutz
8b06e3f7bb
Add event::duration() method
2014-04-19 12:31:37 -07:00
Kyle Lutz
6ac757887c
Support generic function callbacks for event
2014-04-19 11:38:10 -07:00
Kyle Lutz
7629748e49
Merge pull request #90 from roshanr95/perf_sort_by_key
...
Fix errors in perf_sort_by_key
2014-04-18 08:15:08 -07:00
roshanr
70da4979f5
Refactor recurring code into preprocessor
...
Makes it easy to add specialisations
2014-04-18 10:31:12 +05:30
Kyle Lutz
21d81fcd76
Add user_event class
2014-04-16 21:11:47 -07:00
Kyle Lutz
ac0be42cfc
Change program::build() to return void
2014-04-16 21:01:31 -07:00
Kyle Lutz
b3ab16578b
Include <boost/mpl/size.hpp> in function.hpp
2014-04-16 19:12:29 -07:00
Kyle Lutz
e84987b3f4
Fix unused parameter warning in reduce_on_gpu.hpp
2014-04-16 19:12:15 -07:00
Kyle Lutz
4f6c591362
Remove unnecessary typename in discard_iterator
2014-04-13 14:55:08 -07:00
Kyle Lutz
663ab01425
Add documentation for the random number generator classes
2014-04-13 14:33:03 -07:00
Kyle Lutz
3d8616e27e
Add mersenne_twister_engine::generate() overload with transform
2014-04-13 14:18:41 -07:00
Kyle Lutz
6336b81911
Rename mersenne_twister_engine::fill() to generate()
2014-04-13 14:13:53 -07:00
Kyle Lutz
2ebb04caac
Add discard() method to mersenne_twister_engine
2014-04-13 13:57:12 -07:00
Kyle Lutz
dd0b1fcb7b
Add discard_iterator class
2014-04-13 13:45:01 -07:00
Kyle Lutz
6a9efd6d03
Optimize vector<T>::erase() when last equals end()
2014-04-12 16:16:01 -07:00
Kyle Lutz
dadced4703
Remove unused context variable in random_fill()
2014-04-12 11:33:09 -07:00
Kyle Lutz
b7c4f0ce18
Change mersenne_twister::seed() to take a command_queue
2014-04-12 11:14:44 -07:00
Kyle Lutz
7b2ca68539
Add documentation for the enqueue_1d_range_kernel() method
2014-04-12 10:11:02 -07:00
Kyle Lutz
8dac90de3a
Fix spelling error in enqueue_native_kernel() documentation
2014-04-12 10:09:44 -07:00
Kyle Lutz
420c3dd15b
Remove cl_int return values from command_queue
...
This updates the methods in command_queue to either return void
(for synchronous operations) or an event object (for asynchronous
operations). The caller will be notified of OpenCL errors via an
exception being thrown.
2014-04-12 10:02:45 -07:00
Kyle Lutz
7966768c80
Remove read/write buffer convenience overloads in command_queue
2014-04-12 09:40:37 -07:00
Kyle Lutz
e3604817df
Remove explicit call to finish() in command_queue destructor
...
This removes the explicit call to finish() in the destructor
for the command_queue class.
The clFinish() function will be called automatically by the
clReleaseCommandQueue() function once the reference count for
the command queue drops to zero.
2014-04-12 09:35:39 -07:00
Kyle Lutz
7ec4566a00
Remove default local_work_size argument for enqueue_nd_range_kernel()
2014-04-12 09:22:28 -07:00
Kyle Lutz
89d97768d2
Remove enqueue_1d_range_kernel() overload with no local work-size
2014-04-12 09:17:48 -07:00
Kyle Lutz
15cf54cc48
Fix ambiguous member template warning with clang
2014-04-10 22:31:01 -07:00
Kyle Lutz
acb2188382
Improve reduce() performance with generic iterators
2014-04-10 22:16:04 -07:00
Kyle Lutz
b897b1f023
Copy multiple values per thread in copy_on_device()
2014-04-02 21:46:36 -07:00
Kyle Lutz
bae2bb6c7f
Add get_nvidia_compute_capability() function
2014-04-02 21:30:22 -07:00
Kyle Lutz
01eb24f36c
Fix bug in copy-constructor for wait_list
2014-03-23 21:26:09 -07:00
Kyle Lutz
6334d67720
Merge pull request #75 from roshanr95/unique
...
Unique algorithm
2014-03-23 21:24:05 -07:00
Kyle Lutz
5efecbdaad
Merge pull request #74 from ddemidov/master
...
Fixing several warnings given by pedantic g++-4.8.2
2014-03-23 21:23:21 -07:00
roshanr
1e81b7ec2e
Unique algorithm
...
Added unique() algorithm, tests and benchmarks. Removed unused variable
in scan_on_gpu() to remove warnings
2014-03-24 06:30:28 +05:30
Denis Demidov
d653df535d
Fixing several warnings given by pedantic g++-4.8.2
2014-03-22 22:37:39 +04:00
Kyle Lutz
667aa9c200
Add buffer::clone() method
2014-03-20 23:31:41 -07:00
Kyle Lutz
0446e24baf
Fix BOOST_COMPUTE_FUNCTION() with non-default-constructible types
2014-03-20 23:31:36 -07:00
Kyle Lutz
c15f35b0be
Check for empty strings in get_object_info()
2014-03-20 23:17:27 -07:00
Kyle Lutz
21f053fe00
Check binary status in program::create_with_binary()
2014-03-20 23:17:27 -07:00
Kyle Lutz
53d6e95054
Release v0.1
2014-03-16 15:18:26 -07:00
Kyle Lutz
a439709fc2
Improve documentation
2014-03-16 13:59:14 -07:00
Kyle Lutz
8e086104a0
Add event::set_callback() method
...
This adds a method to the event class which allows the user to
register a callback function to be invoked when the event reaches
the specified state (e.g. when it completes).
2014-03-16 13:20:57 -07:00
Kyle Lutz
0c3a325554
Move transform_if() algorithm to experimental
2014-03-16 13:16:39 -07:00
Kyle Lutz
9bf22a41d1
Merge pull request #66 from roshanr95/rotate_copy
...
rotate_copy algorithm and test
2014-03-13 08:07:11 -07:00
Kyle Lutz
bae7432c04
Improve sort_by_key() performance
2014-03-12 23:40:57 -07:00