Commit Graph

1404 Commits

Author SHA1 Message Date
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
c1d867ba48 Use program_options for matrix_transpose example 2014-06-12 20:26:34 -07:00
Kyle Lutz
01eed2c702 Cleanup matrix_transpose example 2014-06-12 19:46:46 -07:00
vaa-msu
2feec50926 Update matrix_transpose.cpp
Changed 'uint's to 'uint_'s and defined uint64_t for Win32
2014-06-12 18:56:38 -07:00
Kyle Lutz
5f406314ae Use program_options for resize_image example 2014-06-10 19:22:40 -07:00
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
d2379699d0 Limit maximum number of program_cache instances
This limits the maximum number of program_cache instances to eight
using an LRU cache. This prevents potential CL_OUT_OF_RESOURCES
errors when creating and using many different context objects.
2014-06-07 22:04:06 -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
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
3f0080b371 Update README file 2014-06-04 18:57:26 -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
cfc3a7ebf1 Merge pull request #130 from vaa-msu/patch-4
Changed tpb and workSize to 'uint_'s
2014-06-02 23:01:49 -07:00
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
vaa-msu
fb6c3528d3 Changed tpb and workSize to 'uint_'s 2014-06-03 09:51:38 +04: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
Kyle Lutz
167c1383ae Merge pull request #127 from roshanr95/permutation-algorithms
Permutation algorithms
2014-06-02 22:42:24 -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
Kyle Lutz
12273f9637 Merge pull request #125 from roshanr95/partition_point
Partition point
2014-05-29 23:16:03 -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
8cfaf793f6 Add memory_limits example 2014-05-24 23:25:57 -07:00
Kyle Lutz
52886775f8 Support conversion of lambda expressions to function objects 2014-05-24 13:42:43 -07:00
Kyle Lutz
f119d6f9d6 Merge pull request #118 from Mageswaran1989/master
added opencv optical flow example
2014-05-23 22:55:30 -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
Mageswaran
b7f2f43e0f added opencv optical flow example 2014-05-23 12:02:02 +05:30
Kyle Lutz
4a507cb368 Remove test for variadic wait_list::insert() 2014-05-22 22:40:04 -07:00
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