Denis Demidov
201f85a038
Skip tests requiring OpenCL 1.2 on usupported devices
2014-07-12 22:54:16 +04:00
Kyle Lutz
86199873b7
Fix partition_by_counts test for Intel CPUs
...
This fixes a test failure in partition_by_counts for Intel CPU
devices. The clCreateSubDevices() function is not guaranteed to
return the sub-devices in the same order as they were specified
in the compute unit counts argument.
Now the test sorts the returned sub-devices by number of compute
units and checks that each specified count is present.
See issue #185 .
2014-07-12 08:52:26 -07:00
Kyle Lutz
9dc87712e9
Improve documentation
2014-07-11 23:25:41 -07:00
Kyle Lutz
a4ae254adc
Rename mersenne_twister_engine header
...
This renames the mersenne_twister_engine header from
"mersenne_twister.hpp" to "mersenne_twister_engine.hpp".
2014-07-11 22:27:16 -07:00
Kyle Lutz
94306ce2e8
Merge pull request #179 from kylelutz/deprecate-device-ptr
...
Move device_ptr to the detail namespace
2014-07-10 20:02:39 -07:00
Kyle Lutz
9106222e61
Merge pull request #178 from kylelutz/equality-operators
...
Add equality operators for all wrapper classes
2014-07-09 22:10:36 -07:00
Kyle Lutz
e0535d7233
Move device_ptr to the detail namespace
...
This deprecates the device_ptr class and moves it to the detail
namespace. The buffer_iterator class should be used instead of
device_ptr for referencing a memory location on the device.
2014-07-08 21:04:23 -07:00
Kyle Lutz
7d377989ee
Add equality operators for all wrapper classes
2014-07-08 20:33:02 -07:00
Kyle Lutz
4a1b3edf48
Fix resize bug with vector::assign()
...
This fixes a bug in which vector::assign() would not resize
itself to accommodate the assigned values. Now the behavior
matches that of std::vector.
2014-07-07 21:56:39 -07:00
Kyle Lutz
cae813ec3c
Add get_info<Info>() specializations
2014-07-07 19:14:14 -07:00
Kyle Lutz
c156ca7198
Merge pull request #169 from kylelutz/hash-function
...
Add hash() function
2014-07-07 08:02:09 -07:00
Kyle Lutz
6af32b3d8f
Add hash() function
2014-07-02 23:24:18 -07:00
Kyle Lutz
90217d055b
Add compile() and link() methods to program
2014-07-02 22:32:58 -07:00
Kyle Lutz
2fa478a11f
Merge pull request #158 from roshanr95/search-algorithms
...
Search algorithms
2014-06-25 18:37:56 -07:00
roshanr
f3d20639f7
Change function signature of search algorithms to match STL versions
2014-06-26 01:27:21 +05:30
Kyle Lutz
9f74b5290e
Enable OpenCV on Travis-CI
2014-06-24 20:54:02 -07:00
roshanr
fd2506b161
Add quick and dirty linear congruential engine
2014-06-18 02:47:00 +05:30
Kyle Lutz
3ac85e3fbc
Merge pull request #141 from roshanr95/discrete_distribution
...
Add discrete_distribution
2014-06-16 18:39:59 -07:00
roshanr
a0a7a85d0d
Add discrete_distribution
2014-06-16 03:01:36 +05:30
roshanr
79063d4fb4
Add uniform_int_distribution
2014-06-15 02:28:59 +05:30
Kyle Lutz
3bf34f368b
Fix test for copy_async()
2014-06-08 23:51:08 -07:00
Kyle Lutz
6ea122adb7
Add support for specifying wait-lists in command_queue
2014-06-08 22:23:59 -07:00
Kyle Lutz
57470c48c2
Add device::get() method
2014-06-08 14:03:27 -07:00
Kyle Lutz
a639e408b8
Cleanup move-semantics for all core types
2014-06-08 13:40:27 -07:00
Kyle Lutz
c2c1346f19
Rename event::get_status() to event::status()
2014-06-08 10:45:35 -07:00
Kyle Lutz
69e483696b
Use reduce() for accumulate() with min()/max()
2014-06-08 10:35:49 -07:00
Kyle Lutz
5c5e813b04
Fix typo in mapped_view test
2014-06-08 09:04:51 -07:00
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
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
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
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
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
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
Kyle Lutz
52886775f8
Support conversion of lambda expressions to function objects
2014-05-24 13:42:43 -07:00
Kyle Lutz
0a0fa4c25b
Merge pull request #117 from roshanr95/stable_partition
...
Add algorithm and test for stable_partition
2014-05-23 18:34:31 -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
4a507cb368
Remove test for variadic wait_list::insert()
2014-05-22 22:40:04 -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
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
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