Commit Graph

1404 Commits

Author SHA1 Message Date
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
89089576ab Merge pull request #176 from kylelutz/get-info-specializations
Add get_info<Info>() specializations
2014-07-07 21:30:07 -07:00
Kyle Lutz
cae813ec3c Add get_info<Info>() specializations 2014-07-07 19:14:14 -07:00
Kyle Lutz
bd164a24b2 Merge pull request #175 from kylelutz/fix-platform-empty-devices
Fix errors when using platforms with no devices
2014-07-07 18:57:16 -07:00
Kyle Lutz
5d6921f162 Merge pull request #170 from kylelutz/create-program-with-built-in-kernels
Add program::create_with_built_in_kernels() method
2014-07-07 08:04:12 -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
8f952b3c5b Merge pull request #168 from kylelutz/struct-is-packed
Add check for packed structs in BOOST_COMPUTE_ADAPT_STRUCT()
2014-07-07 08:01:50 -07:00
Kyle Lutz
1975261a7d Merge pull request #164 from kylelutz/compile-link-program
Add compile() and link() methods to program
2014-07-07 08:01:36 -07:00
Kyle Lutz
73443e0111 Fix errors when using platforms with no devices
This fixes errors caused when handling OpenCL platforms with
no devices. Now the platform::devices() method will properly
return an empty vector without throwing an exception when such
a platform is encountered.

Previously, default_device() would throw an exception when
confronted with a platform with no devices even if devices
from other platforms on the system were available.

Thanks to Godeffroy Valet for reporting this issue.
2014-07-07 07:57:02 -07:00
Kyle Lutz
6103ff6cfb Add program::create_with_built_in_kernels() method 2014-07-02 23:45:35 -07:00
Kyle Lutz
6af32b3d8f Add hash() function 2014-07-02 23:24:18 -07:00
Kyle Lutz
235261a977 Add check for packed structs in BOOST_COMPUTE_ADAPT_STRUCT()
This adds a compile-time check for non-padded structs in the
BOOST_COMPUTE_ADAPT_STRUCT() macro. Also updates the macro to
add "__attribute__((packed))" to the OpenCL struct definition.
2014-07-02 22:53:48 -07:00
Kyle Lutz
90217d055b Add compile() and link() methods to program 2014-07-02 22:32:58 -07:00
Kyle Lutz
bfe2bdd7f7 Merge pull request #163 from roshanr95/distribution-benchmarks
Add benchmarks for the new disributions
2014-07-02 18:15:54 -07:00
roshanr
cd41289bbc Add benchmarks for the new disributions 2014-07-02 20:00:23 +05:30
Kyle Lutz
1a063e86cd Merge pull request #161 from roshanr95/lce
LCE
2014-06-30 21:07:11 -07:00
roshanr
acf4698af1 Add benchmark for lce
Added benchmark for lce and changed threads to 1024
2014-06-30 23:41:58 +05:30
roshanr
d81edfc387 Fix errors in lce
Remove unused parameter
Fix discard() to work for all sizes
2014-06-30 23:41:16 +05:30
Kyle Lutz
47e93c9679 Merge pull request #160 from roshanr95/permutation-algorithms
Add benchmarks for permutation algorithms
2014-06-27 19:15:29 -07:00
roshanr
be18866bca Add benchmarks for permutation algorithms 2014-06-27 08:22:32 +05:30
Kyle Lutz
2fa478a11f Merge pull request #158 from roshanr95/search-algorithms
Search algorithms
2014-06-25 18:37:56 -07:00
roshanr
7baff5980a Add benchmarks for search algorithms 2014-06-26 01:27:58 +05:30
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
Kyle Lutz
1dd4d7d875 Merge pull request #157 from roshanr95/partitioning_algorithms
Add benchmarks for partitioning algorithms
2014-06-24 18:52:11 -07:00
Kyle Lutz
be9be67348 Merge pull request #155 from Mageswaran1989/image_format-support-grey-images
image_format-support-grey-images
2014-06-24 18:39:52 -07:00
roshanr
2e825a9ad1 Add benchmarks for partitioning algorithms 2014-06-25 04:43:47 +05:30
Mageswaran
f10d3d549d updated interop/opencv/core.hpp for grey images 2014-06-24 20:59:48 +05:30
Kyle Lutz
049fbd1a36 Add BOOST_COMPUTE_USE_CPP11 CMake flag 2014-06-22 10:13:59 -07:00
Mageswaran
81994ed6c9 support for OpenCV grey images 2014-06-21 16:48:42 +05:30
Kyle Lutz
1d5a088e94 Merge pull request #152 from roshanr95/set_algorithms
Set algorithms
2014-06-20 18:55:25 -07:00
Kyle Lutz
b011138c1f Merge pull request #151 from Mageswaran1989/adding-opencv_sobel_filter-example
added opencv sobel filter

Conflicts:
	example/CMakeLists.txt
2014-06-20 18:51:32 -07:00
Kyle Lutz
0fa15ea706 Merge pull request #150 from Mageswaran1989/adding-opencv_convolution.cpp-example
added example/opencv_convolution.cpp
added return in catch block

Conflicts:
	example/CMakeLists.txt
2014-06-20 18:46:04 -07:00
roshanr
e2c5fe5504 Add benchmarks for set algorithms 2014-06-21 02:51:00 +05:30
roshanr
5b832d8ee1 Fix errors in set algorithms
Fix all the kernels so that they work with very low number
of elements in the two sets
2014-06-21 02:42:27 +05:30
Mageswaran
01bf3abe30 added return in catch block 2014-06-20 21:24:56 +05:30
Kyle Lutz
dceaa72c11 Merge pull request #148 from Mageswaran1989/renaming-opencv_filter-to-opencv_flip
renamed example/opencv_filter.cpp to example/opencv_flip.cpp
2014-06-20 08:34:29 -07:00
Mageswaran
aae0f777a3 added opencv sobel filter 2014-06-20 18:35:20 +05:30
Mageswaran
3210ee0c1f added example/opencv_convolution.cpp 2014-06-20 17:26:02 +05:30
Mageswaran
2f6dda41d9 renamed example/opencv_filter.cpp to example/opencv_flip.cpp 2014-06-20 11:27:05 +05:30
Kyle Lutz
4abb85705c Merge pull request #144 from jamboree/develop
Use BOOST_NOEXCEPT
2014-06-19 08:33:13 -07:00
jamboree
c518869dd4 Use BOOST_NOEXCEPT 2014-06-19 18:03:09 +08:00
Kyle Lutz
b670212ee8 Use "OpenCL API" rather than "OpenCL C API"
This changes references to the OpenCL API in the documentation
from "OpenCL C API" to just "OpenCL API". See issue #142.
2014-06-18 18:42:21 -07:00
Kyle Lutz
b66ee3d75c Merge pull request #139 from roshanr95/lce
Add linear congruential engine
2014-06-17 19:16:26 -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
Kyle Lutz
bd79332cc0 Merge pull request #140 from roshanr95/uniform_int_distribution
Add uniform_int_distribution
2014-06-16 18:39:14 -07:00
Kyle Lutz
c82bcfddd6 Merge pull request #138 from Mageswaran1989/merging-optical-flow-examples
merged opencv optical examples with command line options
2014-06-16 18:37:18 -07:00
Mageswaran
f6c46f665f merged opencv optical examples with command line options 2014-06-16 11:26:12 +05:30