Kyle Lutz
48217d2918
Merge pull request #593 from haahh/pr_sort_by_key_desc_fix
...
Fix radix_sort_by_key for desc order
2016-04-24 10:56:56 -07:00
Kyle Lutz
481c6623f7
Merge pull request #592 from haahh/pr_optical_flow_example_fix
...
Fix bug in optical flow example
2016-04-24 10:54:30 -07:00
Jakub Szuppe
f29bbda7f8
Tests for radix sort in desc order
2016-04-23 18:24:24 +02:00
Jakub Szuppe
6d5d9b0b5d
Now radix_sort_by_key is stable
...
Radix sort algorithm was not stable when used for
sorting by key in descending order (see issue #588 ).
2016-04-23 18:21:15 +02:00
Jakub Szuppe
8caa9c2ac3
Fix bug in optical flow example
...
Image sampler should be a global constant in
OpenCL program.
2016-04-23 15:17:25 +02:00
Kyle Lutz
437363b6b7
Merge pull request #591 from jagerman/develop
...
Fix normal distribution
2016-04-22 19:25:06 -07:00
Jason Rhinelander
d4653c6624
Use nextafter to push values down into [0,1) range
...
Without this, we can get values of 1, but that leads to negative
infinity from the following log; if we push the x1 value towards 0, we
ensure that (one-x1) is always a value in (0,1], and so the log value
will be in (-inf, 0], which is what we want.
2016-04-22 19:27:47 -04:00
Kyle Lutz
a832380b0b
Add test for mean and variance of normal_distribution
2016-04-22 18:51:43 -04:00
Kyle Lutz
a1090c1290
Fix issue with zero values in normal_distribution
2016-04-22 18:51:26 -04:00
Kyle Lutz
bf8eeb9738
Use natural log in normal_distribution kernel
2016-04-22 18:50:49 -04:00
Kyle Lutz
3d9fd19350
Merge pull request #585 from bwitherspoon/wait-list-initializer-list
...
Add initializer list constructor to wait_list
2016-04-18 14:51:16 -07:00
Brett Witherspoon
8f449cde4b
Add initializer list constructor to wait_list
2016-04-17 02:59:51 -05:00
Kyle Lutz
7474521aaa
Merge pull request #582 from haahh/misc_fixes
...
Build fixes and other
2016-04-11 21:12:34 -07:00
Kyle Lutz
b0b1ea8d33
Add Apple CPUs and GPUs to list of supported platforms
2016-04-11 21:09:55 -07:00
Kyle Lutz
76156093e7
Add Intel GPUs to list of supported platforms
2016-04-11 21:09:41 -07:00
Jakub Szuppe
c683d4ab22
Fix AMD APP SDK 3.0 builds
2016-04-10 12:46:38 +02:00
Jakub Szuppe
c0b23e101c
Use POCL 0.13
...
Now POCL version is specified by a branch or tag (from
github.com/pocl/pocl.git repository) and optionally a commit id.
2016-04-10 12:46:38 +02:00
Jakub Szuppe
da222c8243
Remove unused variable
2016-04-10 12:46:38 +02:00
Jakub Szuppe
796c5d4629
Fix tests for clSetMemObjectDestructorCallback()
2016-04-10 12:42:35 +02:00
Jakub Szuppe
9173c07f40
Fix saxpy benchmark
...
boost::compute::fill() may not be done before we start
execution measuring time.
2016-04-10 12:42:35 +02:00
Jakub Szuppe
dcddaae8d2
Make number of trials configurable from cmd line
...
Make number of trials in benchmarks (how many times algorithm
is run) configurable from command line.
2016-04-10 12:42:35 +02:00
Kyle Lutz
44f08e3932
Merge pull request #580 from boostorg/fix-svm-ptr-assignment-operator
...
Add missing return to svm_ptr assignment operator
2016-04-07 15:10:42 -07:00
Kyle Lutz
203f0be723
Add missing return to svm_ptr assignment operator
2016-04-07 07:58:03 -07:00
Kyle Lutz
523d8e9745
Merge pull request #577 from ddemidov/wait_list-improvements
...
Wait list improvements
2016-03-18 19:38:41 -07:00
Kyle Lutz
da71051593
Merge pull request #573 from haahh/pr_stable_sort_by_key
...
Add stable_sort_by_key()
2016-03-18 19:36:22 -07:00
Kyle Lutz
90638570c9
Merge pull request #572 from haahh/pr_fix_comp_errors_osx
...
Fix compilation errors on OSX
2016-03-18 19:35:03 -07:00
Denis Demidov
cafe8b6578
Provide wait-list iterators
2016-03-18 22:27:55 +03:00
Denis Demidov
15b7414e78
Provide array subscript operator for wait_list
2016-03-18 22:20:39 +03:00
Denis Demidov
2eed2c2fdd
Provide wait_list::reserve() method
...
This should help to get rid on unnecessary heap allocations.
The wait lists are usually small, which means that just pushing back
elements without prior call to reserve has very high chance of hitting
capacity limit every time wait_list::insert is called.
2016-03-18 10:58:29 +03:00
Jakub Szuppe
af58463ad9
Add tests for radix_sort_by_key()
2016-03-16 15:07:53 +01:00
Jakub Szuppe
a127310d73
Add test for stable_sort_by_key()
2016-03-16 15:07:28 +01:00
Jakub Szuppe
73ef474fdd
Add stable_sort_by_key()
...
Currently, stable_sort_by_key() works on GPUs only for
keys that are radix-sortable and for very small inputs.
2016-03-16 14:59:02 +01:00
Jakub Szuppe
77ff3b36ab
Add OSX build without running tests on Travis-CI
...
This commit adds OSX build on Travis-CI in which unit tests
are not run. This build is NOT allowed to fail.
2016-03-16 13:17:54 +01:00
Jakub Szuppe
b3224ea753
Misc. strided_iterator changes
2016-03-16 13:16:14 +01:00
Jakub Szuppe
b8fa408d4b
Fix compilation errors on OSX
...
Fix compilation errors occurring on OSX in strided_iterator,
merge_with_merge_path() and includes(). They were introduced
by commit 3826e9cae4
fixing
signed/unsigned int comparison warnings on Windows.
2016-03-16 13:08:39 +01:00
Kyle Lutz
38ba1c5447
Merge pull request #566 from haahh/update-test-jamfilev2
...
Update tests compile options in Jamfile.v2
2016-03-10 13:04:02 -08:00
Kyle Lutz
fe816c5acf
Merge pull request #571 from haahh/win-related-changes
...
Windows related changes
2016-03-10 10:14:03 -08:00
Jakub Szuppe
3826e9cae4
Misc fixes
2016-03-09 18:56:17 +01:00
Jakub Szuppe
8bc763cd53
MSVC/WIN-related update of CMakeLists.txt files
...
This commit fixes misc. bugs in CMakeLists.txt files that
were causing various build errors and warnigns.
2016-03-09 18:56:16 +01:00
Jakub Szuppe
c41c1d98b1
Link OpenCL in FreeBSD in test/Jamfile.v2
2016-03-09 17:08:59 +01:00
Jakub Szuppe
fec8913be2
Remove redundant compile option
...
Remove redundant -Wno-deprecated-declaration (msvc: wd4996) compile
option from Travis-CI builds and test/Jamfile.v2.
2016-03-09 17:08:58 +01:00
Jakub Szuppe
1653a06f90
Suppress OpenCL-related deprecated declarations warns
...
Suppress deprecated declarations warnings (for MSVC, GCC and Clang)
caused by deprecated OpenCL Runtime functions.
2016-03-09 17:08:45 +01:00
Jakub Szuppe
a1895728a1
Use custom FindOpenCL.cmake only for cmake older than 3.1
2016-03-09 15:30:02 +01:00
Jakub Szuppe
112537a8cb
Update tests compile options in Jamfile.v2
...
Different compilers have different options to suppress the same
warnings.
2016-03-09 14:57:50 +01:00
Kyle Lutz
3e831faf5f
Merge pull request #569 from boostorg/opengl-interop-type-names
...
Add type_name() support for OpenGL types
2016-03-08 20:12:46 -08:00
Kyle Lutz
698647f8a1
Merge pull request #564 from boostorg/update-documentation-for-1.61
...
Update documentation for release in Boost 1.61
2016-03-08 20:12:00 -08:00
Kyle Lutz
1523b232e3
Add reduce_by_key() to API reference
2016-03-08 19:21:16 -08:00
Kyle Lutz
03dc34b820
Add type_name() support for OpenGL types
2016-03-07 19:52:32 -08:00
Kyle Lutz
c1ae612926
Update documentation for release in Boost 1.61
2016-03-06 18:34:33 -08:00
Kyle Lutz
1386d2947d
Merge pull request #562 from ddemidov/fix-faq
...
Fix FAQ section regarding differences with existing libraries
2016-03-04 10:03:20 -08:00