Kyle Lutz
13bc000117
Add image2d::clone() method
2014-05-18 19:34:24 -07:00
Kyle Lutz
b49a8e52f8
Add test for find_if() with distance()
2014-05-18 16:15:57 -07:00
Kyle Lutz
376713f1b4
Simplify lambda wrappers for binary geometric functions
2014-05-18 16:13:47 -07:00
Kyle Lutz
afd7ed9b87
Merge pull request #115 from roshanr95/set_algorithms
...
Set algorithms
2014-05-18 16:21:13 -06:00
roshanr
8dbc2b658d
Add algorithm and test for includes
2014-05-19 01:42:16 +05:30
roshanr
de9b2ef6ff
Add algorithm and test for set_symmetric_difference
2014-05-19 01:08:41 +05:30
roshanr
acbabfeeff
Add algorithm and test for set_difference
2014-05-18 22:50:00 +05:30
roshanr
5f7cd290cf
Add algorithm and test for set_union
2014-05-18 22:49:54 +05:30
Kyle Lutz
dcefed4ed4
Add resize_image example
2014-05-17 17:52:23 -07:00
Kyle Lutz
4683a3b5be
Add default constructor for image_sampler
2014-05-17 17:26:43 -07:00
Kyle Lutz
e44f79ca0d
Merge pull request #113 from roshanr95/set_intersection
...
Set intersection
2014-05-17 12:39:44 -06:00
roshanr
1bb652cbea
Minor fixes
...
Change tile_size from string to int, use read_single_value instead of
finish
2014-05-17 20:41:03 +05:30
roshanr
c522d9a337
Add algorithm and test for set_intersection
2014-05-16 19:14:48 +05:30
roshanr
c0f844f018
Add compact kernel
...
Added kernel to compact the results of set kernels into actual sets
2014-05-16 19:13:27 +05:30
roshanr
78d06b2e26
Add tile_sets kernel
...
Added kernel to tile sets based on a balanced path
2014-05-16 19:13:03 +05:30
Kyle Lutz
2fffd98c90
Merge pull request #111 from banche/develop
...
matrix transpose and simple moving average examples + exclusive_scan perf tests
2014-05-14 12:10:20 -06:00
Kyle Lutz
b41ec2b1cb
Fix bug when invoking binary closures
2014-05-14 10:44:52 -07:00
Benoit Dequidt
fed05b3ba5
Update perf_partial_sum : no internal allocation and copy
...
Calling the partial_sum algorithm with the same input/output
buffer leads to an internal allocation and copy.
2014-05-14 23:55:14 +08:00
Benoit Dequidt
48687cd29e
Add perf tests for exclusive_scan
...
- perf_exclusive_scan for Boost.Compute
- perf_thrust_exclusive_scan for thrust
2014-05-14 23:54:58 +08:00
Benoit Dequidt
8587c1b9d9
creation of matrix_transpose example
2014-05-14 00:34:00 +08:00
Benoit Dequidt
4fdef7756e
Creation of simple_moving_average example
2014-05-14 00:34:00 +08:00
Kyle Lutz
72747e0830
Release v0.2
2014-05-11 10:34:16 -07:00
Kyle Lutz
a107b9239f
Fix tests for event::set_callback() on Intel GPUs
...
Intel GPUs don't fire the callbacks registered with set_callback()
until the underlying OpenCL event object is destroyed. This changes
the test so that the events go out of scope or are explicitly reset
before checking that the callback has been executed.
2014-05-10 18:04:42 -07:00
Kyle Lutz
b89c886462
Refactor exception classes
...
This refactors and improves the exception classes. Additional
documentation as well as testing has been added. This also adds
a new static method to opencl_error which converts OpenCL error
codes to human-readable strings.
2014-05-10 14:59:33 -07:00
Kyle Lutz
b1eef72ec2
Add device vendor predicate functions
...
This adds a couple new functions for checking the vendor of a
compute device. This is useful for algorithms which specialize
based on the type of the underlying hardware.
2014-05-10 10:33:24 -07:00
Benoit Dequidt
985414ed50
Improve reduce_on_gpu kernel if device.vendor() == NVIDIA
...
An internal template functor is used in order to get a clear code
when the device is from nvidia we can do:
- loop unrolling
- warp reduction using volatile local memory
2014-05-10 10:16:22 -07:00
Kyle Lutz
4bb78de369
Merge pull request #110 from roshanr95/search_n
...
Search_n
2014-05-10 10:09:16 -07:00
roshanr
d3b3881d9e
Add algorithm and test for search_n
2014-05-09 22:48:40 +05:30
Kyle Lutz
0d7258bcac
Merge pull request #109 from roshanr95/find_end
...
Find end
2014-05-08 20:19:39 -07:00
roshanr
09760b4372
Add algorithm and test for find_end
2014-05-09 05:16:04 +05:30
Kyle Lutz
6b7d83b40e
Merge pull request #103 from roshanr95/search_algorithms
...
Search algorithm
2014-05-07 21:04:40 -07:00
roshanr
79d5353a4e
Minor fixes
...
Change documentation style, add test for search(), remove unused
variable, remove trailing whitespaces
2014-05-07 15:53:03 +05:30
Kyle Lutz
88b6a8b3d4
Only call clRetainDevice()/clReleaseDevice() for sub-devices
2014-05-06 19:56:11 -07:00
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
d23894322f
Merge pull request #102 from roshanr95/gather/scatter
...
Gather/scatter
2014-05-01 19:06:55 -07:00
roshanr
cd88be2e94
Rewrite scatter using meta_kernel
2014-05-01 14:53:34 +05:30
roshanr
d0e5efdbb7
Rewrite gather using meta_kernel
2014-05-01 14:26:58 +05:30
Kyle Lutz
00f782355e
Add example and test for AMD's static C++ kernel language
2014-04-28 21:53:36 -07:00
Kyle Lutz
37a00f5c4e
Add normal_distribution class
2014-04-27 15:27:15 -07:00
Kyle Lutz
714416f17f
Change uniform_real_distribution to use BOOST_COMPUTE_FUNCTION()
2014-04-27 15:17:30 -07:00
Kyle Lutz
7429589ca7
Change mersenne_twister_engine::generate() to use temporary storage
2014-04-27 15:14:59 -07:00
Kyle Lutz
02fc4fa170
Add define() method to function<> and closure<>
2014-04-27 15:02:48 -07:00
Kyle Lutz
bfe212059f
Add k_means example
2014-04-27 13:41:18 -07:00
Kyle Lutz
e8d91023b5
Add random_walk example
2014-04-27 13:27:03 -07:00
Kyle Lutz
0117e462e2
Fix unused parameter warnings
2014-04-27 13:11:24 -07:00
Kyle Lutz
6b00246e09
Simplify function/closure macro implementations
2014-04-27 12:56:14 -07:00
Kyle Lutz
f6bd9de8bd
Reorganize tests for issues/bugs
2014-04-27 12:42:45 -07:00
Kyle Lutz
9343b99085
Improve documentation
2014-04-24 19:51:45 -07:00
Kyle Lutz
2dc1a8cbfe
Change count_if() to use reduce()
2014-04-22 22:24:51 -07:00