Rene Rivera
57038772bf
Sync from upstream.
2025-04-04 21:41:05 -05:00
Peter Dimov
cf7907574d
Add test_sha1.cpp
2024-11-28 14:01:12 +02:00
Rene Rivera
7359c0f73d
Sync from upstream.
2024-08-22 10:01:16 -05:00
Peter Dimov
3084aa4acd
Link to OpenCL under Windows as well in test/Jamfile.v2
2024-08-22 10:08:54 +03:00
Kyle Lutz
22882664e7
Merge pull request #890 from boostorg/fix_test_functional_popcount
...
Fix includes in test_functional_popcount.cpp
2024-08-21 19:49:58 -07:00
Kyle Lutz
d442329a0e
Fix includes in test_functional_popcount.cpp
2024-08-21 19:26:24 -07:00
Rene Rivera
370f890280
Change all <source> references to <library>.
2024-07-20 19:37:05 -05:00
Rene Rivera
8bda41d126
Make the library modular usable.
2024-03-11 08:30:25 -05:00
Jakub Szuppe
915ab0b3ca
Merge pull request #832 from rosenrodt/pr-set-default-command-queue
...
Allow manually setting default command queue via `default_queue()`
2019-05-12 11:22:50 +02:00
Anthony C
2583e31214
Multiple refactors
...
- attaching user command queue failure now throws a `set_default_queue_error` exception
- default_queue() now takes optional const reference of user queue instead of pointer to user queue
- add missing items in documentation
2019-05-09 16:08:50 +08:00
Anthony C
73580396ef
avoid attaching command queue more than once in debug mode
2019-04-21 21:21:44 +08:00
Anthony C
fffb9eea36
Allow manually setting default command queue via default_queue()
...
By doing so, the associated default device and context will automatically match the user-provided command queue. It
Guarantees unique default queue/device/context is returned when calling from multiple threads (requires config macro BOOST_COMPUTE_THREAD_SAFE)
Resolves issue #827
2019-04-21 20:39:37 +08:00
Anthony C
60f8555780
fall back to old set_arg() behavior in case there's no support for c++11 nullptr
2019-04-03 17:46:21 +08:00
Anthony C
bba8cbebd8
add support to set kernel argument as NULL; fixes issue #828
...
misc: fix typo in local_buffer.hpp
2019-04-03 17:01:02 +08:00
Jakub Szuppe
590c814bbe
Fix: unsigned long is not fundamental type on Win64
...
On Windows 64 unsigned long has 4 bytes like unsigned int, but it does not
seem to be a simple alias for unsigned int. Because of that unsigned long is
not OpenCL fundamental type.
2019-02-11 09:13:06 +01:00
Jakub Szuppe
a47ff938b7
Merge pull request #823 from jszuppe/accessors-reupload
...
Accessors reupload
2019-02-10 16:30:30 +01:00
Henry Schreiner
4ab0939663
Adding types (would be included if including core)
2019-02-10 11:53:30 +01:00
Henry Fredrick Schreiner
0ab199c834
Adding test (should fail on macOS)
2019-02-10 11:53:30 +01:00
Amir Shavit
04f7d5867f
Added accessors to vector types
2019-02-10 11:45:40 +01:00
Jakub Szuppe
facbfb2698
Fix test_kernel.cpp
...
Also minor fixes for CMake scripts.
2018-12-29 10:51:22 +01:00
Anthony C
22e04ea5a8
reproduce the issue as appeared in #774 . the issue arises when there's equal keys (values that are compared against) in the array
2018-12-19 20:48:45 +08:00
Jakub Szuppe
509ebe4a92
Merge pull request #780 from jszuppe/fix_memory_leak_746
...
Fix memory leak
2018-05-13 22:14:06 +02:00
Jakub Szuppe
6e6bcf6bc8
Add buffer memory leak test case
...
See issue #746
2018-05-12 12:29:44 +02:00
pradeep
450a109c4a
Fix device var access in tests macro calls
2018-05-08 14:55:41 +05:30
Lakshay Garg
a6879d2c2c
add future::then() method
...
resolves #94
2018-03-04 16:56:03 +05:30
Jakub Szuppe
1abd2b2eeb
Adjust .travis.yml to Travis CI changes
2018-02-27 15:58:38 +01:00
Jakub Szuppe
a3c4126860
Add 2 more missing runtime check for 2.1
2017-11-28 20:48:05 +01:00
Jakub Szuppe
f65d9a98ed
Update test to support POCL
2017-11-28 20:48:04 +01:00
Kristian Popov
0100733230
Added copyright notice to new files
2017-11-28 20:45:54 +01:00
Kristian Popov
a091e5d5c8
Added 2 new test cases for program build failure handling
2017-11-28 20:45:54 +01:00
Kristian Popov
286c7dc9ca
Program build throws a more precise exception that stores build log
2017-11-28 20:45:51 +01:00
Jakub Szuppe
a0082b5f7d
Add runtime checks for OpenCL 2.1 feature tests
2017-11-16 23:08:52 +01:00
Jakub Szuppe
7ecb09a47c
Fix Threefry RNG
2017-10-12 22:14:26 +02:00
Kyle Lutz
d36ef02b78
Merge pull request #742 from jszuppe/fix_strided_iter_tag
...
Fix strided_iterator tag
2017-09-12 05:22:47 +02:00
Jakub Szuppe
48c9e86479
Fix strided_iterator's iterator_category
...
Using std::iterator_traits<> to get iterator tag prevents
from converting STL iterator tag to Boost tag.
2017-09-10 23:24:55 +02:00
Jakub Szuppe
6c2a3604b9
Implement vector::shrink_to_fit()
2017-06-17 17:44:26 +02:00
Kyle Lutz
251d02b17d
Merge pull request #731 from jszuppe/pr_svm_migrate_mem
...
Add wrapper for clEnqueueSVMMigrateMem()
2017-06-11 13:18:47 -07:00
Jakub Szuppe
f568c447e3
Add wrapper for clEnqueueSVMMigrateMem()
2017-06-11 08:19:35 +02:00
Jakub Szuppe
cb534cdfa2
Add clSetDefaultDeviceCommandQueue wrapper
2017-06-04 14:46:05 +02:00
Jakub Szuppe
725a8fa8e8
Add tests for device timer methods
2017-05-27 18:05:01 +02:00
Jakub Szuppe
d1bc634fc5
Add tests for creating program with IL
...
For testing boost::compute::program::create_with_il() 32- and 64-bit
SPIR-V binaries were added to test/data dir. File test/data/program.cl
contains OpenCL C source code of those binaries.
2017-05-23 00:06:12 +02:00
Jakub Szuppe
8979846ba0
Merge pull request #720 from jszuppe/pr_kernel_clone
...
Add clCloneKernel() wrapper
2017-05-16 10:51:51 +02:00
Janusz Rupar
da05ba9631
vector::reserve() implemented
...
Fixes bug #687
2017-05-14 11:32:33 +02:00
Jakub Szuppe
24bbb350bb
Add clone() to kernel class
...
This adds wrapper for clCloneKernel() OpenCL 2.1 API
function to the kernel class.
2017-05-12 21:38:24 +02:00
Jakub Szuppe
499689dd05
Fix test_vector.cpp
...
We have to sync buffer with queue.finish() before
reading it with another command queue.
2017-05-09 20:26:09 +02:00
Jakub Szuppe
2fcaa8db15
Fix test_for_each.cpp
2017-05-09 19:10:36 +02:00
Jakub Szuppe
1bee0169ba
Add tests for get_sub_group_info()
2017-05-07 11:56:25 +02:00
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