2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-19 16:12:16 +00:00

1424 Commits

Author SHA1 Message Date
Peter Dimov
cf7907574d Add test_sha1.cpp boost-1.87.0 boost-1.90.0.beta1 boost-1.90.0 boost-1.89.0 boost-1.88.0.beta1 boost-1.88.0 2024-11-28 14:01:12 +02:00
Kyle Lutz
c62316f441 Merge pull request #891 from boostorg/pr/add-windows-opencl-lib 2024-08-22 07:55:45 -07:00
Kyle Lutz
54915acaaf Merge pull request #893 from boostorg/pr/fix-sha1-fix 2024-08-22 07:55:12 -07:00
Peter Dimov
f8e5e35437 Output digest[i] as an integer, rather than a character, in sha1.hpp 2024-08-22 10:21:19 +03: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
c539c92dd6 Merge pull request #887 from mmitti/mmitti/fix_sha1_digest_type
fix sha1 digest type
2024-08-21 20:42:33 -07:00
Kyle Lutz
51feec8615 Merge pull request #830 from rosenrodt/include-static-assert-fundamentals-hpp
Include Boost's static_assert header in fundamental.hpp
2024-08-21 19:56:25 -07: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
mmitti
79452d5279 fixup to changing sha1::digest_type 2024-08-19 10:34:47 +09:00
Peter Dimov
36350b7de8 Add a Boost-friendly subproject case to CMakeLists boost-1.84.0.beta1 boost-1.83.0 boost-1.86.0.beta1 boost-1.86.0 boost-1.85.0.beta1 boost-1.85.0 boost-1.78.0 boost-1.84.0 boost-1.83.0.beta1 boost-1.87.0.beta1 boost-1.82.0.beta1 boost-1.82.0 boost-1.81.0.beta1 boost-1.81.0 boost-1.80.0.beta1 boost-1.80.0 boost-1.79.0.beta1 boost-1.79.0 boost-1.78.0.beta1 2021-09-23 21:51:38 +03:00
Peter Dimov
4cf0653402 Add a Boost-friendly subproject case to CMakeLists 2021-06-04 20:47:52 +03: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
Jakub Szuppe
5a29a4d0a1 Merge pull request #829 from rosenrodt/set-null-kernel-argument
add support to set kernel argument as NULL; fixes issue #828
2019-04-04 07:48:07 +02: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
Anthony C
bb935fbf93 include Boost's static_assert header 2019-04-03 15:54:07 +08:00
Jakub Szuppe
36c89134d4 Merge pull request #826 from jszuppe/fix-cacheline-rettype
Fix type for CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE
boost-1.75.0 boost-1.70.0 boost-1.74.0.beta1 boost-1.74.0 boost-1.75.0.beta1 boost-1.76.0 boost-1.76.0.beta1 boost-1.77.0 boost-1.77.0.beta1 boost-1.73.0.beta1 boost-1.73.0 boost-1.72.0.beta1 boost-1.72.0 boost-1.71.0.beta1 boost-1.71.0 boost-1.70.0.beta1
2019-02-16 10:40:51 +01:00
Jakub Szuppe
2904664177 Fix type for CL_DEVICE_GLOBAL_MEM_CACHELINE_SIZE
Fixes #825
2019-02-15 22:22:49 +01:00
Jakub Szuppe
0035290686 Merge pull request #824 from jszuppe/fix-ulong-type
Fix: unsigned long is not fundamental type on Win64
2019-02-11 15:30:38 +01: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
Jakub Szuppe
c4d1a88b23 Merge pull request #797 from u-s/feature/copy-with-wait-list
Added wait_list parameter to "copy" functions
2019-02-10 16:29:49 +01:00
Jakub Szuppe
8c7412f19d Merge pull request #748 from henryiii/add_test_mactypes
Support for set_arg on macOS
2019-02-10 16:29:25 +01:00
Henry Schreiner
4ab0939663 Adding types (would be included if including core) 2019-02-10 11:53:30 +01:00
Denis Demidov
f00732ee50 Include compute/types.hpp into compute/core.hpp 2019-02-10 11:53:30 +01:00
Denis Demidov
5adad8e248 kernel.hpp needs to include types.hpp 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
Jakub Szuppe
827371af22 Merge pull request #772 from umar456/scan_fix
Fix out of bound access in local_scan kernel
2019-02-10 11:51:43 +01:00
Anton Myagkov
3de4bbaa0b Added wait_list parameter to copy functions 2019-02-10 11:49:36 +01:00
Jakub Szuppe
3eb11f1cde Zero-init new vector_type 2019-02-10 11:46:05 +01:00
Amir Shavit
6c6a10893d Added a static assert to assure there's no padding between the members 2019-02-10 11:45:40 +01:00
Amir Shavit
04f7d5867f Added accessors to vector types 2019-02-10 11:45:40 +01:00
Jakub Szuppe
924ed68562 Merge pull request #820 from friederbluemle/fix-typo
Fix typo
2019-02-07 11:11:14 +01:00
Frieder Bluemle
f171c6197e Fix typo 2019-01-28 11:36:47 +08:00
Jakub Szuppe
5f283bfb56 Merge pull request #812 from rosenrodt/sort-failure-on-amd-vega
fixes radix sort error
2019-01-21 12:30:28 +01:00
Anthony C
81dc8c7352 insert memory fence to avoid AMD OpenCL compiler reordering the read/writes 2019-01-18 22:50:43 +08:00
Jakub Szuppe
2135633bc7 Merge pull request #807 from jszuppe/ci-fixes
Add Intel (1.2, 2.0, 2.1) and OpenCL 2.2 builds for Travis CI
2018-12-29 19:55:07 +01:00
Jakub Szuppe
facbfb2698 Fix test_kernel.cpp
Also minor fixes for CMake scripts.
2018-12-29 10:51:22 +01:00
Jakub Szuppe
6fbfa0f679 Disable warning about deprecated CL extension 2018-12-28 19:11:15 +01:00
Jakub Szuppe
38093e73e0 Minor Travis CI fixes 2018-12-28 19:11:15 +01:00
Jakub Szuppe
0f52d92e81 Merge pull request #806 from Zialus/appveyor-fix
Fix AppVeyor
2018-12-27 19:51:16 +01:00
Jakub Szuppe
030bc9f318 Build with OpenCL 2.2 headers 2018-12-27 19:06:08 +01:00
Raul Ferreira
dbd0c15155 Add OpenCL Intel Platform to Travis CI
Changes extracted from PR #804
2018-12-27 19:05:41 +01:00
Jakub Szuppe
61d18ce24e Merge pull request #788 from u-s/bugfix/variable-shadowing-simple-moving-average
fix variable shadowing in check_results(simple moving average example)
2018-12-27 17:39:33 +01:00
Raul Ferreira
5e8d41dec2 Fix AppVeyor
Get OpenCL headers, libraries, and runtime from somewhere more reliable.
Added VS2017 configuration to the matrix.
2018-12-27 15:15:07 +00:00
Anton Myagkov
217f77aa20 fix variable shadowing 2018-12-27 12:25:16 +01:00