2
0
mirror of https://github.com/boostorg/compute.git synced 2026-02-01 20:32:19 +00:00
Commit Graph

221 Commits

Author SHA1 Message Date
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
Kyle Lutz
cf8e972e55 Improve kernel::set_arg() method 2014-03-12 21:02:22 -07:00
Kyle Lutz
e1e84252d0 Merge pull request #65 from roshanr95/mersenneTwister
Fix warnings in Mersenne Twister
2014-03-12 18:21:13 -07:00
roshanr
f1b7f39655 rotate_copy algorithm and test 2014-03-13 03:56:56 +05:30
Kyle Lutz
5fb6f94cea Merge pull request #62 from roshanr95/rotate
Rotate algorithm
2014-03-12 10:38:56 -07:00
roshanr
d1a87603f0 Fix warnings in Mersenne Twister 2014-03-12 23:05:06 +05:30
roshanr
03edbbbdab Rotate algorithm 2014-03-12 22:41:30 +05:30
Kyle Lutz
0a1c378731 Add opengl_renderbuffer class 2014-03-09 22:17:36 -07:00
Kyle Lutz
ad48527dcd Add documentation for OpenGL interop headers 2014-03-09 22:16:10 -07:00
Kyle Lutz
6c8f158c00 Fix documentation for the wait_list class 2014-03-09 22:06:45 -07:00
Kyle Lutz
83d104f24f Add BOOST_COMPUTE_CLOSURE() macro
This adds a new macro which allows users to create closure functions
which can capture C++ variables and make them available in OpenCL.
2014-03-08 18:44:03 -08:00
Kyle Lutz
dec92cc438 Add BOOST_COMPUTE_ADAPT_STRUCT() macro
This adds a new macro which allows the user to adapt a C++ struct
or class for use with OpenCL given its type, name, and members.

This allows for custom user-defined data-types to be used with the
Boost.Compute containers and algorithms.
2014-03-08 18:21:34 -08:00
Kyle Lutz
6f3f30bee9 Add enqueue_native_kernel() method to command_queue 2014-03-08 15:21:57 -08:00
Kyle Lutz
3b49cf14f8 Add wait_list class
This adds a wait_list class which contains a vector of OpenCL
events that can be waited on before executing further commands.
2014-03-08 14:09:41 -08:00
Kyle Lutz
71af014b3d Add mapped_view container 2014-03-08 13:17:55 -08:00
Kyle Lutz
51e89596b1 Simplify accumulate() with reduce() 2014-03-08 13:13:32 -08:00
Kyle Lutz
b8de46d4de Add experimental directory
This adds an experimental directory which contains various
experimental algorithms and functions. The files and APIs
under this directory are experimental and unstable.
2014-03-08 13:02:06 -08:00
Kyle Lutz
86c0bb0a12 Add inline specifier to opengl_enqueue_release_gl_objects() 2014-02-28 21:09:34 -08:00
Kyle Lutz
b1b50f5e3a Add meta_kernel::insert_function_call() method 2014-02-24 19:56:52 -08:00
Kyle Lutz
d9a45b06d3 Move float vector stream operators in meta_kernel 2014-02-24 19:42:31 -08:00
Kyle Lutz
80781ce9d2 Add OpenCV-OCL interop functions 2014-02-22 10:57:42 -08:00