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

323 Commits

Author SHA1 Message Date
Jakub Szuppe
f95b1ee682 Separate kernel for reverse_copy()
Separate kernel for reverse_copy() algorithm improves its performance,
new tests for reverse_copy_int
2015-03-10 22:25:38 +01:00
Kyle Lutz
a1e3366ade Add Boost.Build support 2015-03-01 09:36:59 -08:00
Kyle Lutz
a71a4e9853 Add begin() and end() methods to extents<N> 2015-02-25 11:06:45 -07:00
Kyle Lutz
de76e66dd1 Merge pull request #426 from jmr1/msvc2013
MSVC 2013 build fixes
2015-02-22 19:02:45 -07:00
jmr1
bf233d833c Missing using declaration 2015-02-22 17:21:36 +01:00
Kyle Lutz
ca0bc4b7d3 Refactor image classes 2015-02-08 16:26:34 -08:00
Kyle Lutz
6e38dafbd5 Merge pull request #423 from kylelutz/buffer-clone-flags
Preserve memory flags in buffer::clone()
2015-02-08 15:06:57 -08:00
Kyle Lutz
a34aaf0456 Merge pull request #422 from kylelutz/no-device-found-exception
Add no_device_found exception
2015-02-08 15:06:43 -08:00
Kyle Lutz
8b2788f026 Add no_device_found exception 2015-02-07 12:47:11 -08:00
Kyle Lutz
3c56ea4cbe Preserve memory flags in buffer::clone() 2015-02-07 12:27:24 -08:00
Kyle Lutz
155ec4b8b9 Disable default context error handler 2015-02-07 10:56:34 -08:00
Bastian Köcher
1e711e0330 - Rebased with develop branch
- Moved include into the test

Conflicts:
	test/test_buffer.cpp
2015-01-20 10:19:37 +01:00
Kyle Lutz
f4bf942a31 Merge pull request #412 from bastiankoe/createsubbuffer
CreateSubbuffer support
2015-01-16 18:40:01 -08:00
Kyle Lutz
316109abd4 Merge pull request #410 from kylelutz/wait-guard
Add wait_guard class
2015-01-16 18:39:18 -08:00
Bastian Köcher
09d3c44cd7 - Added templated register_destructor_callback function and a test for this new functionality 2015-01-16 16:38:25 +01:00
Bastian Köcher
7eba538c55 Merge branch 'develop' into createsubbuffer 2015-01-16 15:59:24 +01:00
Bastian Köcher
78ce892705 - Added testcase for subbuffer creation
- Added documentation and asserts for buffer.create_subbuffer function
2015-01-16 15:57:28 +01:00
Kyle Lutz
79aa6758f2 Add wait_guard class 2015-01-07 20:19:05 -08:00
Kyle Lutz
8b27e22b2f Add test for vector::resize() exception-safety 2015-01-07 20:17:26 -08:00
Kyle Lutz
01643e7f9a Add test for equality with std::accumulate() 2014-12-30 16:12:55 -08:00
Kyle Lutz
6609a54c00 Merge pull request #399 from kylelutz/rename-misc-tests
Rename miscellaneous tests
2014-12-30 15:26:09 -08:00
Kyle Lutz
7f962e6078 Rename miscellaneous tests 2014-12-30 14:50:47 -08:00
Kyle Lutz
c48c4dd086 Fix local_buffer test when checking local memory size
This fixes a test failure for implementations which don't
properly report dynamically set local memory buffer sizes.
2014-12-30 14:42:52 -08:00
Kyle Lutz
c74c2abc4f Add four-iterator versions of equal() and mismatch() 2014-12-30 13:44:24 -08:00
Kyle Lutz
cfdb10c808 Move is_device_iterator to the public API 2014-12-30 10:06:47 -08:00
Kyle Lutz
c31195ec7d Add local_buffer class 2014-12-24 14:06:18 -08:00
Kyle Lutz
417cb03670 Fixes for Mac OS X 2014-12-24 09:25:55 -08:00
Kyle Lutz
e3bbce456b Merge pull request #352 from kylelutz/rename-types-builtin
Rename types/builtin.hpp to types/fundamental.hpp
2014-12-21 09:15:29 -08:00
Kyle Lutz
c97c83a562 Rename types/builtin.hpp to types/fundamental.hpp 2014-12-20 13:39:50 -08:00
Kyle Lutz
73b246603b Add for_each_n() algorithm 2014-12-20 13:30:36 -08:00
Kyle Lutz
885a2ad135 Improve documentation 2014-12-20 10:39:38 -08:00
sschaet
ea7e0a0993 fixing CHECK_RANGE_EQUAL
if the container passed to CHECK_RANGE_EQUAL is larger than the
expected range, the copy writes over the the boundaries of the
created buffer _actual.
2014-12-17 21:13:01 +01: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
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
fa75a66253 Merge pull request #318 from kylelutz/identity-function
Add identity<T>() function
2014-11-29 10:28:26 -08:00
Kyle Lutz
16fdb15395 Add identity<T>() function 2014-11-29 10:19:53 -08:00
Kyle Lutz
3e3f46d144 Define BOOST_COMPUTE_DEBUG_KERNEL_COMPILATION for tests 2014-11-28 13:20:21 -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
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
1e0505d79c Merge pull request #311 from f-koehler/pr229
Reimplemented unit tests for unsupported extension and context error
2014-11-24 08:02:36 -08:00
f-koehler
d57fa9ffb0 reimplemented unit tests for unsupported extension and context error 2014-11-24 16:13:58 +01:00