2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-28 07:02:15 +00:00

292 Commits

Author SHA1 Message Date
Kyle Lutz
53d6e95054 Release v0.1 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
da22127181 Merge pull request #67 from roshanr95/reverse_benchmarks
Add benchmarks for reverse
2014-03-16 10:27:14 -07:00
roshanr
a65804d0c9 Add benchmarks for reverse
Added STL and Compute benchmarks for reverse()
2014-03-16 22:31:29 +05:30
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
9e5bff9d83 Add SYSTEM to third-party include_directories() calls 2014-03-12 20:41:04 -07:00
Kyle Lutz
d03fab297d Merge pull request #63 from kylelutz/coveralls
Add coveralls.io integration
2014-03-12 19:06:41 -07:00
Kyle Lutz
524ce5c799 Add coveralls.io integration
This adds support for automatic code-coverage generation with
coveralls.io and Travis-CI.
2014-03-12 18:26:29 -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
9f6f9d989b Change Travis-CI badge to use the master branch 2014-03-11 22:15:34 -07:00
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
9e0431006a Rearrange types tests 2014-03-08 12:55:11 -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
Kyle Lutz
dacdbf0ffd Bug in fill() with uchar4 2014-02-22 10:51:39 -08:00
Kyle Lutz
e7a76c343a Remove unused variable in reduce_on_gpu() kernel 2014-02-14 18:14:18 -08:00
Kyle Lutz
4ab210bee4 Merge pull request #54 from ddemidov/fix-travis-conf
Install specific version of fglrx on Travis-CI
2014-02-05 08:41:55 -08:00
Denis Demidov
905ebc2ded Install specific version of fglrx on Travis-CI
The current version that gets installed automatically is broken in the
sense that it does not work on a CPU in the absence of a GPU (e.g. see
https://travis-ci.org/ddemidov/vexcl/jobs/18265418#L276).

This installs version 2:8.960-0ubuntu1 which does work.
2014-02-05 16:26:39 +04:00
Kyle Lutz
ec11d8cdc4 Add third-party perf tests
This adds third-party performance tests to use in comparing
Boost.Compute with other parallel/GPGPU frameworks like Intel's
TBB and NVIDIA's Thrust along with the C++ STL.

Also refactors the timing and profiling infrastructure and adds
a simple perf.py driver script for running performance tests.
2014-02-02 13:12:17 -08:00
Kyle Lutz
6de0b65d18 Improve documentation 2014-02-02 11:32:49 -08:00
Kyle Lutz
f3c2384af4 Add opengl_create_shared_context() function 2014-02-01 12:27:23 -08:00
Kyle Lutz
0c88eca831 Add platform::id() method 2014-02-01 12:17:21 -08:00
Kyle Lutz
9a0aa33c2f Make platform::get_extension_function_address() const 2014-02-01 12:15:53 -08:00
Kyle Lutz
32379dd836 Fix bug with opengl_sphere example on AMD 2014-02-01 12:10:58 -08:00
Kyle Lutz
881d398fff Use glDrawArrays() in opengl_sphere example 2014-02-01 12:10:12 -08:00
Kyle Lutz
ccd6f21d98 Change vector constructors to take queue argument
This changes the vector<T> constructors which copy or initialize
data to take a queue argument used for performing the operations.

Previously they just took a context argument used to initialize the
buffer and then created a new command queue to use. This improves
performance by not requiring a new command queue and also fixes issues
when performing operations on a different command queue while the
vector was still being initialized.
2014-01-27 23:39:19 -08:00
Kyle Lutz
bc8aa0e9d5 Skip generate_pair test on AMD
This skips the generate_pair test on AMD which does not
properly support struct assignment. Before this patch the
test would fail with "UNREACHABLE executed!" and a SIGABRT.
2014-01-26 18:52:58 -08:00
Kyle Lutz
f235e59e82 Add inline_ptx example 2014-01-20 20:05:34 -08:00
Kyle Lutz
3be0ae78d8 Add batched_determinant example 2014-01-20 19:43:09 -08:00
Kyle Lutz
47922aa780 Add Boost version check to config.hpp
This adds a compile-time check to config.hpp which ensures
that the miniumum supported Boost version (1.48) is found.
2014-01-20 18:31:18 -08:00
Kyle Lutz
dc20f09d92 Add make_tuple() lambda function 2014-01-14 22:18:35 -08:00