Kyle Lutz
60aca4401b
Simplify the program::create_kernel() implementation
2014-06-07 19:58:36 -07:00
Kyle Lutz
732ab539f3
Improve documentation
2014-06-07 15:03:56 -07:00
Kyle Lutz
fc9f014526
Add core.hpp header
2014-06-07 11:57:11 -07:00
Kyle Lutz
b228de76a7
Add memory_object::set_destructor_callback() method
2014-06-07 11:13:52 -07:00
Kyle Lutz
d30dcfb564
Use clEnqueueWriteBuffer() for writing single values with fill()
2014-06-06 23:10:27 -07:00
Kyle Lutz
2ca2c16839
Swap allocators in vector::swap()
2014-06-06 08:29:45 -07:00
Kyle Lutz
07ae8638de
Remove bogus assert() in command_queue::enqueue_nd_range_kernel()
2014-06-04 18:50:43 -07:00
Kyle Lutz
53c3e1af83
Add normal_distribution.hpp to random.hpp header
2014-06-04 18:44:55 -07:00
Kyle Lutz
36681a6ad5
Merge pull request #131 from roshanr95/bernoulli-distribution
...
Add bernoulli distribution
2014-06-04 18:41:37 -07:00
roshanr
1777b7e5bf
Add bernoulli distribution
2014-06-04 03:41:19 +05:30
Kyle Lutz
99891752a6
Merge pull request #129 from vaa-msu/patch-1
...
Changed some 'uint's to 'uint_'s
2014-06-02 22:55:49 -07:00
Kyle Lutz
b2f80daf17
Merge pull request #128 from 'daniel-murray/develop'
...
add BOOST_COMPUTE_DEFAULT_DEVICE_TYPE env variable support
2014-06-02 22:48:07 -07:00
daniel-murray
b34c02c239
add BOOST_COMPUTE_DEFAULT_DEVICE_TYPE env variable support
...
allows a user to easily select between a gpu and a cpu without recompiling
2014-06-02 22:47:18 -07:00
vaa-msu
d65a5cf881
Changed some 'uint's to 'uint_'s
2014-06-03 09:27:17 +04:00
roshanr
b772ae4849
Add algorithm and test for is_permutation
2014-06-01 06:01:38 +05:30
roshanr
5e08e1b0b6
Add algorithm and test for prev_permutation
2014-06-01 06:01:31 +05:30
roshanr
9943683627
Minor fixes for next_permutation
...
Add it to algorithm.hpp.
Remove unnecessary includes.
Change naming so as to prevent conflicts.
2014-06-01 06:00:57 +05:30
Kyle Lutz
ff11312fd5
Merge pull request #126 from roshanr95/next_permutation
...
Add algorithm and test for next_permutation
2014-05-29 23:16:31 -07:00
roshanr
79d374f646
Minor fix in binary_search
...
Changed it to use read_single_value instead of
* operator
2014-05-29 22:49:25 +05:30
roshanr
e4f0783ecd
Add algorithm and test for next_permutation
2014-05-29 22:31:11 +05:30
roshanr
c8d4836a6f
Add partition_point algorithm and test
2014-05-26 03:43:19 +05:30
roshanr
1bf09a5624
Add binary_find algorithm
...
Added binary_find algorithm.
Changed upper_bound, lower_bound, binary_search to use it
2014-05-25 20:41:12 +05:30
Kyle Lutz
52886775f8
Support conversion of lambda expressions to function objects
2014-05-24 13:42:43 -07:00
roshanr
4d3d114285
Add algorithm and test for stable_partition
...
Added algorithm and test for stable_partition.
Changed partition to use it for now till a
better implementation is found
2014-05-23 14:19:17 +05:30
Kyle Lutz
c7802d0a49
Move variadic event handling to async/wait.hpp
2014-05-20 23:08:46 -07:00
Kyle Lutz
85af9d2630
Add variadic wait_for_all() function
2014-05-18 19:47:19 -07:00
Kyle Lutz
13bc000117
Add image2d::clone() method
2014-05-18 19:34:24 -07:00
Kyle Lutz
376713f1b4
Simplify lambda wrappers for binary geometric functions
2014-05-18 16:13:47 -07: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
4683a3b5be
Add default constructor for image_sampler
2014-05-17 17:26:43 -07: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
b41ec2b1cb
Fix bug when invoking binary closures
2014-05-14 10:44:52 -07:00
Kyle Lutz
72747e0830
Release v0.2
2014-05-11 10:34:16 -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
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