2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-28 07:02:15 +00:00

972 Commits

Author SHA1 Message Date
Kyle Lutz
301c541824 Release v0.5 v0.5 2015-12-20 18:34:14 -08:00
Kyle Lutz
0d846daad9 Merge pull request #542 from haahh/count_fix_rngs
Fix incorrect count update in rngs
2015-12-19 09:05:44 -08:00
Jakub Szuppe
39fa3634e1 Fix seed method call in linear_congruential_engine.hpp
There is no seed method with just one parameter of type result_type.
2015-12-18 22:12:51 +01:00
Jakub Szuppe
d2d62f9973 Fix incorrect count (global work size) update in generate methods 2015-12-18 22:12:47 +01:00
Kyle Lutz
45fd97b764 Merge pull request #540 from haahh/fixes_boost160_inspection_report
Minor fixes related to Boost Inspection Report (1.60 develop)
2015-12-06 10:51:35 -08:00
Jakub Szuppe
1f4088200d Minor fixes related to Boost Inspection Report (1.60 develop) 2015-12-06 18:35:29 +01:00
Kyle Lutz
17db2a5174 Merge pull request #539 from boostorg/create-program-with-sources
Add program::create_with_source() with vector of strings
2015-12-05 14:44:49 -08:00
Kyle Lutz
cb863b91a6 Add program::create_with_source() with vector of strings 2015-12-04 20:37:13 -08:00
Kyle Lutz
c983cc3a48 Merge pull request #535 from olivas/create_with_source_file
program::create_with_source_file doesn't fail with bad input
2015-11-19 19:39:58 -08:00
Alex Olivas
aa85b207d3 tested the wrong function. 2015-11-18 18:04:24 -07:00
Alex Olivas
0a2d7fa0e1 if the ifstream can't be created in program::create_with_source_file then it throws std::ios_base::failure. 2015-11-18 16:27:19 -07:00
Kyle Lutz
0d172afaf8 Merge pull request #533 from haahh/minor_fixes
Minor fixes
2015-11-05 18:53:42 -08:00
Jakub Szuppe
6be8228a74 Fix integer type to uint_ (cl_uint) 2015-11-05 18:23:00 +01:00
Jakub Szuppe
e97f70cdac CL_MAP_WRITE_INVALIDATE_REGION is available since OpenCL 1.2 2015-11-05 18:15:39 +01:00
Kyle Lutz
e7a0db49c9 Merge pull request #529 from haahh/fix_opencl2_tests
Fix OpenCL 2.0 test cases in test_fill and test_svm_ptr
2015-10-29 21:31:46 -07:00
Jakub Szuppe
fb03f87942 Add more tests for enqueue_svm_memcpy() method 2015-10-29 12:44:06 +01:00
Jakub Szuppe
972a1a26e8 Skipping copy_svm_ptr test case on AMD devices
clEnqueueSVMMemcpy() operation does not work on AMD devices due to a bug
in drivers (https://community.amd.com/thread/190585). This affects copy()
algorithm (when SVM is used) and results in copy_svm_ptr failing. Now this
test case is skipped on AMD devices.
2015-10-29 12:43:02 +01:00
Jakub Szuppe
acf83372db Fix OpenCL2.0 test cases in test_fill and test_svm_ptr 2015-10-24 21:15:44 +02:00
Kyle Lutz
f249741bf8 Merge pull request #522 from haahh/pr_find_extrema_first_extremum
Fix find_extrema_with_atomics and _with_reduce
2015-10-23 00:19:54 -07:00
Jakub Szuppe
8099e07f40 Fix find_extrema_with_atomics
Now find_extrema_with_atomics always return the first extremum
in the given range.
2015-10-21 08:46:04 +02:00
Jakub Szuppe
2d972fe2a4 Fix find_extrema_with_reduce
Now find_extrema_with_reduce always return the first extremum
in the given range.
2015-10-21 08:46:04 +02:00
Kyle Lutz
34b218f805 Merge pull request #527 from boostorg/fix-test-link-error
Fix Boost.Test link error in test/Jamfile.v2
2015-10-19 20:19:10 -07:00
Kyle Lutz
aed377d6d8 Fix Boost.Test link error in test/Jamfile.v2 2015-10-19 20:02:53 -07:00
Kyle Lutz
e855b6b6d7 Merge pull request #526 from boostorg/remove-jamroot
Remove Jamroot file
2015-10-18 10:26:43 -07:00
Kyle Lutz
6b4d53e7a3 Remove Jamroot file 2015-10-18 10:27:13 -07:00
Kyle Lutz
781cf302cb Merge pull request #525 from haahh/pr_vector_custom_alloc
Vector with custom allocator fix
2015-10-10 09:16:11 -07:00
Kyle Lutz
bc83a43045 Merge pull request #521 from boostorg/fix-test-fill
Skip fill() tests with double if not supported by device
2015-10-10 07:58:59 -07:00
Jakub Szuppe
afd09bcd7d Fix vector when used with custom allocator 2015-10-05 14:28:37 +02:00
Jakub Szuppe
5e2598bfdd Add more test for vector with custom allocator 2015-10-05 14:28:37 +02:00
Jakub Szuppe
01af4136da Add test for vector move ctor when custom allocator is used 2015-10-05 14:28:32 +02:00
Jakub Szuppe
e357a6a338 Test if min/max_element algorithms return the first min/max in given range 2015-10-03 18:20:48 +02:00
Kyle Lutz
dba4da7dcd Skip fill() tests with double if not supported by device
This skips the tests for fill() and fill_n() with double values
if the device does not support the cl_khr_fp64 extension.
2015-10-01 22:49:43 -07:00
Kyle Lutz
0b4509afea Merge pull request #520 from jpola/scatter_if
scatter if operation
2015-10-01 20:40:39 -07:00
Jakub Pola
e5050cbbe9 fix for initialization of output vector 2015-09-29 09:27:50 +02:00
Kyle Lutz
2c9d77413f Merge pull request #519 from haahh/pr_ocl_runtime_check_in_tests
Runtime OpenCL version check in tests
2015-09-28 19:52:10 -07:00
Kyle Lutz
e27e5ee72b Merge pull request #518 from boostorg/event-wait-const
Event wait const
2015-09-28 19:50:29 -07:00
Kyle Lutz
b2e2bdfb0d Merge pull request #510 from haahh/dev_events_for_queue_enqueue_methods
Events for queue enqueue_map_ methods
2015-09-28 19:50:10 -07:00
Jakub Pola
c6c7f4a679 Copyrights fixes 2015-09-28 21:16:31 +02:00
Jakub Pola
f25b47d6f3 scatter if operation 2015-09-28 17:17:10 +02:00
Jakub Szuppe
1b059f8100 Runtime OpenCL version check in tests 2015-09-24 15:44:52 +02:00
Jakub Szuppe
586f815e48 Remove extra semicolon in perf_bolt_saxpy.cpp 2015-09-24 15:03:48 +02:00
Kyle Lutz
a56ae5687f Make wait_list::wait() const 2015-09-23 21:39:47 -07:00
Kyle Lutz
c248dadbca Make event::wait() const 2015-09-23 21:39:02 -07:00
Kyle Lutz
c75f5dc858 Merge pull request #516 from boostorg/adapt-struct-array
Add array support to BOOST_COMPUTE_ADAPT_STRUCT()
2015-09-20 16:58:55 -07:00
Kyle Lutz
44b0decb1f Merge pull request #514 from haahh/pr_fix_binary_find
Fix and improve binary_find
2015-09-20 16:58:05 -07:00
Kyle Lutz
346a11a6c0 Merge pull request #512 from boostorg/zip-constant-iterator
Add test for zip_iterator with constant_iterator
2015-09-20 16:54:28 -07:00
Kyle Lutz
68155f7597 Add array support to BOOST_COMPUTE_ADAPT_STRUCT()
This adds support for C-style arrays (e.g. "int array[10]") to the
BOOST_COMPUTE_ADAPT_STRUCT() macro.

Thanks to Fabian Bösch for providing the code.
2015-09-19 18:28:17 -05:00
Jakub Szuppe
36418e4cf8 Remove redundant kernel compilation from binary_find
After this binary_find kernel is compiled only once during binary_find algorithm
execution instead of in every iteration of the while loop.
2015-09-19 19:17:27 +02:00
Jakub Szuppe
10583d3868 Fix binary_find algorithm
This prevents iterators from going out of range which
resulted in errors.
2015-09-19 19:11:32 +02:00
Jakub Szuppe
ff51c44434 Fix test for binary_search, lower_bound and upper_bound
Previous test data was too small to properly test binary_find which
is used in binary_search, lower_bound and upper_bound algorithms.
2015-09-19 19:11:14 +02:00