Jakub Szuppe
d142a36e98
Fix unsigned integer type to uint_
2016-01-07 17:46:31 +01: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
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
Kyle Lutz
aed377d6d8
Fix Boost.Test link error in test/Jamfile.v2
2015-10-19 20:02:53 -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
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
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
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
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
Kyle Lutz
70bdf310d3
Add test for zip_iterator with constant_iterator
2015-09-15 12:56:11 -05:00
Kyle Lutz
f04b1aabde
Merge pull request #511 from haahh/pr_fix_search_search_n
...
Fix for search and search_n algorithm
2015-09-15 12:41:10 -05:00
Jakub Szuppe
0e51ad4ad8
Fix for search and search_n algorithm
2015-09-12 19:29:16 +02:00
Jakub Szuppe
55a7f874a6
Add missing enqueue_map_image method in command queue
2015-09-12 16:26:10 +02:00
Lorenzo Pistone
9211260bcc
fix a few instances where the device type is not used as a bit mask
2015-09-11 12:21:11 +02:00
Kyle Lutz
239f4a247c
Merge pull request #498 from boostorg/invoke
...
Add invoke() utility function
2015-09-01 21:49:54 -07:00
Kyle Lutz
cf5e40ee26
Merge pull request #497 from haahh/pr_find_extrema_supports_custom_comparision
...
Support for custom comparison function in find_extrema()
2015-08-19 20:24:04 -07:00
Kyle Lutz
ef109b75d5
Add invoke() utility function
...
This adds an invoke() function which calls an OpenCL function on a
device with the given arguments.
2015-08-19 08:18:15 -07:00
Jakub Szuppe
a50dae747d
Support for custom comparision function in find_extrema() and min/max_element()
2015-08-19 13:42:22 +02:00
Kyle Lutz
ffd35b09eb
Merge pull request #487 from haahh/pr_boost_inspection_overlooked_minmax
...
Fix overlooked violation of the Boost min/max guidelines
2015-08-01 09:10:47 -07:00
Kyle Lutz
f278c66c14
Merge pull request #486 from haahh/pr_sort_cpu
...
CPU-targeted merge sort
2015-08-01 09:10:13 -07:00
Jakub Szuppe
bf78ec5ff1
Fix overlooked violation of the Boost min/max guidelines
2015-08-01 13:24:00 +02:00
Jakub Szuppe
5a9b30176d
Add more tests for sort
2015-07-30 19:53:08 +02:00
Kyle Lutz
15a778d84a
Merge pull request #480 from haahh/pr_boost_inspection
...
Fixing problems reported in Boost Inspection Report
2015-07-18 11:01:57 -07:00
Jakub Szuppe
7a8d078926
Update Boost macros, macros style unification
2015-07-18 16:12:24 +02:00
Jakub Szuppe
7e12f63a81
Add missing Boost license info and copyrights
2015-07-18 14:01:29 +02:00
Jakub Szuppe
dbf751e7fc
Convert tabs to spaces
2015-07-16 21:18:12 +02:00
Jakub Szuppe
350f2c93a8
Fix violations of Boost min/max guidelines
2015-07-16 21:18:08 +02:00
Kyle Lutz
7059a30c3a
Merge pull request #477 from haahh/pr_reduce_by_key
...
Reduce by key algorithm
2015-07-15 08:32:22 -07:00
Jakub Szuppe
706af4fce8
Reduce by key algorithm (serial implementation)
2015-07-15 11:06:23 +02:00
Jakub Szuppe
7894d1f7c0
Add missing queue and context parameters in tests
2015-07-02 22:20:42 +02:00
Kyle Lutz
2298aa5ff1
Merge pull request #468 from haahh/custom_funcs_for_scan
...
Support for custom functions in inclusive and exclusive scan
2015-06-24 08:30:06 -07:00