Jakub Szuppe
9d0b9410f7
Fix test in test_device.cpp
2017-04-26 11:22:44 +02:00
Jakub Szuppe
a4a3982e1c
Fix test_flat_set.cpp test
2017-04-26 11:22:44 +02:00
Jakub Szuppe
97f78d50b9
Fix test_is_permutation.cpp test
2017-04-26 11:22:44 +02:00
Jakub Szuppe
43f3634378
Fix test_random_shuffle.cpp test
2017-04-26 11:22:44 +02:00
Jakub Szuppe
ebc1ddfcbd
Fix test_pair.cpp test
2017-04-26 11:22:44 +02:00
Jakub Szuppe
ca75931466
Use BOOST_COMPUTE_CL_VERSION_X_Y in tests
2017-04-23 20:11:10 +02:00
Jakub Szuppe
f06aed04c6
Fix #484
...
Some tests should not be run if macro
BOOST_COMPUTE_NO_HDR_INITIALIZER_LIST is defined.
2017-04-08 18:19:43 +02:00
Jakub Szuppe
c21f705a2a
Test sort_by_key with custom struct values
2017-04-02 17:18:04 +02:00
Adam Wulkiewicz
f68111457d
Use 'obj' rule instead of 'compile' in opencl availability test.
...
The use of 'compile' rule interferes with --dump-tests option of b2 and prevents correct running of tests in some of the other Boost libraries.
2017-03-30 00:17:28 +02:00
Jakub Szuppe
6f9e6cf650
Merge pull request #658 from Slonegg/compile_program_with_headers
...
added headers to program::compile
2017-03-29 21:31:21 +02:00
Kyle Lutz
a76d6a97d7
Merge pull request #696 from haahh/pr_amd_svm_fixed_on_win
...
AMD SVM bug was fixed on Windows
2017-03-27 19:18:40 -07:00
Jakub Szuppe
587720e221
AMD SVM bug fixed on Win
2017-03-22 18:48:16 +01:00
Kyle Lutz
d8beaaf227
Merge pull request #694 from haahh/pr_vs_fixes
...
Various fixes for Visual Studio
2017-03-20 20:11:12 -07:00
Kyle Lutz
e370e6acae
Merge pull request #693 from haahh/pr_fix
...
Various fixes
2017-03-20 20:07:52 -07:00
Kyle Lutz
d2132e4ce5
Merge pull request #689 from Flast/check-opencl-availability
...
Check opencl availability on test.
2017-03-20 20:01:32 -07:00
Jakub Szuppe
2d604e7656
Fix: isinf is ambiguous in VS2015
2017-03-18 15:22:22 +01:00
Jakub Szuppe
d0f3e50a32
Fix issue #683
...
Make sure variable type is kept when
stringifying its value in bc::lambda.
2017-03-17 21:44:00 +01:00
Jakub Szuppe
50bf39c300
Remove a race condition from test
...
Event can be complete before wait_guard.
2017-03-17 21:41:55 +01:00
Jakub Szuppe
cb9fd9dfb5
Fix destructor_callback test
...
It must be thread-safe.
2017-03-16 22:25:29 +01:00
Kohei Takahashi
1da7245d0f
Check opencl availability on test.
2017-02-01 23:38:16 +09:00
Jakub Szuppe
e25bb7d99d
POCL does not have remquo() OpenCL built-in func impl
2016-09-24 22:31:58 +02:00
Jakub Szuppe
6f704003f1
Add wrappers for OpenCL builtin funs with ptrs
2016-09-24 21:37:21 +02:00
Jakub Szuppe
131953bf94
Add macro for checking collections of real numbers
2016-09-24 21:35:29 +02:00
Jakub Szuppe
1b2bb4b98e
Add missing lambda wrappers for builtin funcs
2016-09-24 21:35:25 +02:00
Dmitry Trifonov
e845a80ab8
added headers to program::compile
2016-09-14 13:54:49 -07:00
Kyle Lutz
886205fdcf
Merge pull request #651 from haahh/fix_minmax_element
...
Fix minmax_element() and add test for it
2016-08-23 21:53:24 -07:00
Jakub Szuppe
3196b71273
Fix minmax_element() and add test for it
...
Remove useless Compare template parameter and add
test for minmax_element().
2016-08-23 21:27:32 +02:00
Jakub Szuppe
45ea54f704
Fix gather algorithm
2016-08-22 18:55:20 +02:00
Jakub Szuppe
979ec52351
Add more tests for scan
2016-07-25 22:37:17 +02:00
Kyle Lutz
1d2f8cfbd9
Merge pull request #633 from haahh/pr_find_extrema_cpu
...
find_extrema for CPUs
2016-07-20 22:23:51 -07:00
Jakub Szuppe
934257b97d
Add more tests for find_extrema algorithms
2016-07-17 13:24:07 +02:00
Jakub Szuppe
4c21633bf9
Fix vector copy ctor when using non-default context
...
Now correct queue (from correct context) is used in copy
constructor of boost::compute::vector.
2016-07-17 00:01:47 +02:00
Jakub Szuppe
2af23fa7e9
Change various tests to work with non-default context
...
Now all tests work even if Context::context, Context::device,
Context::queue are not default context, device and queue. This
is required for developing better tests in the future.
Note: Some tests may work only for default context/queue/device
since classes that they test work only for default context/q/d.
There are two solutions for this problem: either those tests run
on default queue (no matter what) or they does not run when
Context::context is not the default context. See test_string.cpp.
2016-07-16 20:30:28 +02:00
Kyle Lutz
6e3213bfcf
Merge pull request #628 from haahh/pr_reduce_cpu
...
Reduce for CPU
2016-07-11 20:16:19 -07:00
Thomas Trummer
68d373c38a
Add missing include for std::cerr (on macOS)
2016-07-10 18:38:23 +02:00
Jakub Szuppe
585eb747a0
More tests for adjacent difference
2016-07-09 14:11:01 +02:00
Jakub Szuppe
5d31bd0f07
Add tests for stable comp. sort and sort-by-key
2016-06-22 17:06:12 +02:00
Jakub Szuppe
cc1cc0e345
Add tests for comparison sort
2016-06-21 17:41:36 +02:00
Jakub Szuppe
bffc9f74fb
Fix async copying when first == last (input is empty)
2016-05-28 22:46:35 +02:00
Jakub Szuppe
69e09f27d8
Minor fixes in test_copy.cpp
2016-05-28 13:15:36 +02:00
Jakub Szuppe
ba0da3f3f4
Tests for copying SVM memory when types mismatch
...
Tests for copying SVM memory to/from/on device when
value_types of InputIterator and OutputIterator mismatch.
2016-05-28 13:15:36 +02:00
Jakub Szuppe
933ff15ce5
Better names for tests
2016-05-28 13:15:36 +02:00
Jakub Szuppe
aaaaca4ed2
Type-safe async coping from device to host
2016-05-28 13:15:36 +02:00
Jakub Szuppe
7461c92fdc
Add test for async coping with svm_ptr<>
2016-05-24 21:37:29 +02:00
Jakub Szuppe
55ac7da9d8
Fix test in test_functional_as.cpp
...
At the end of test we should read from input vector
(not output) in order to check if transform() with
as<int>() was performed correctly.
2016-05-24 21:37:29 +02:00
Jakub Szuppe
1419b7d36f
Type-safe copying from device to host
...
Type-safe copying from device to host. Seperate copying
algorithm device -> host for non-contiguous OutputIterator (host).
2016-05-24 21:37:29 +02:00
Jakub Szuppe
ce8230b6f5
Coping from host for non-contiguous iterators (host)
...
When InputIterator (host) is a non-contiguous iterator we don't
need a separate algorithm for cases when value_types of InputIterator
and OutputIterator (device) do not match and cases when they do
match.
2016-05-21 17:16:13 +02:00
Jakub Szuppe
7c3d0c20e9
Add tests for coping on device with mismatched types
2016-05-21 16:58:31 +02:00
Jakub Szuppe
d12e07c0e9
Fix type-safety issues for async copying host->device
2016-05-21 16:58:15 +02:00
Jakub Szuppe
bba6c61ed4
Add tests for copying host->device with mismatched types
2016-05-21 16:52:05 +02:00