2
0
mirror of https://github.com/boostorg/compute.git synced 2026-02-22 03:12:19 +00:00
Commit Graph

1287 Commits

Author SHA1 Message Date
Jakub Szuppe
c36f0517bb Merge pull request #721 from jszuppe/pr_fix_scan_on_cpu
Fix scan_on_cpu algorithm
2017-05-13 20:55:56 +02:00
Jakub Szuppe
6fc7bea6e9 Fix scan_on_cpu algorithm 2017-05-13 15:22:45 +02:00
Jakub Szuppe
b16e0b8ee7 Merge pull request #717 from jszuppe/pr_subgroup_info
Add get_sub_group_info() to kernel class
2017-05-10 13:37:58 +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
d77df8f336 AppVeyor: Use latest OCL headers 2017-05-09 19:14:37 +02:00
Jakub Szuppe
2fcaa8db15 Fix test_for_each.cpp 2017-05-09 19:10:36 +02:00
Jakub Szuppe
f14950fab3 Print platform name in hello_world.cpp example
It is useful for identifying which platform is the default
one, when the same device is on multiple platforms.
2017-05-08 18:49:18 +02:00
Jakub Szuppe
aa778dc822 Add missing BOOST_COMPUTE_MAX_CL_VERSION defs 2017-05-07 11:56:26 +02:00
Jakub Szuppe
1bee0169ba Add tests for get_sub_group_info() 2017-05-07 11:56:25 +02:00
Jakub Szuppe
d4b0192634 Add get_sub_group_info() to kernel class 2017-05-07 11:56:25 +02:00
Jakub Szuppe
114e444a7e Small fixes to opengl/context.hpp 2017-05-06 20:27:17 +02:00
Kyle Lutz
a965a8dab6 Merge pull request #710 from jszuppe/pr_add_appvayor_ci
Add AppVayor CI
boost-1.65.0 boost-1.65.1
2017-05-03 22:06:00 -07:00
Jakub Szuppe
f3a2e4c605 Add AppVeyor CI badge 2017-05-03 19:17:12 +02:00
Jakub Szuppe
57bf8ac0b8 Change appveyor.yml to .appveyor.yml 2017-04-29 13:50:30 +02:00
Jakub Szuppe
378087ed25 Add VS2015 build to AppVeyor CI 2017-04-29 13:50:30 +02:00
Jakub Szuppe
3f23f3bb83 Add AppVeyor CI 2017-04-29 13:50:30 +02:00
Jakub Szuppe
863371d290 Merge pull request #715 from haahh/pr_fixes
Various fixes
2017-04-27 20:58:01 +02:00
Jakub Szuppe
193d7f6247 Merge pull request #712 from ddemidov/issue-692
Optionally enforce device selected with BOOST_COMPUTE_DEFAULT variables
2017-04-26 11:32:58 +02:00
Jakub Szuppe
0f5c49d5f5 Fix write/read race bug
If you write to and read from buffer using different command queues,
you have a race condition. User expects operator= to be synchronous,
however, clEnqueueWriteBuffer call can only promises:

If blocking_write is CL_TRUE, the OpenCL implementation copies the data
referred to by ptr and enqueues the write operation in the
command-queue. The memory pointed to by ptr can be reused by the
application after the clEnqueueWriteBuffer call returns.
2017-04-26 11:22:45 +02:00
Jakub Szuppe
64d389203b Explicit conversion to cl_uint 2017-04-26 11:22:45 +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
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
84cff684c2 Add missing == != operators 2017-04-26 11:22:36 +02:00
Jakub Szuppe
debbf80b4d Merge pull request #714 from haahh/pr_add_gitter
Add Gitter badge
2017-04-25 17:38:18 +02:00
Jakub Szuppe
17a7a0b9e8 Add Gitter badge 2017-04-25 16:13:13 +02:00
Jakub Szuppe
88e401770d Merge pull request #699 from haahh/dev_max_cl_ver
Add BOOST_COMPUTE_MAX_CL_VERSION to specify the newest version to use
2017-04-24 18:07:00 +02:00
Jakub Szuppe
568e0fe5bb Use BOOST_COMPUTE_MAX_CL_VERSION in Travis script 2017-04-23 20:13:29 +02:00
Jakub Szuppe
3906cd6587 Disable deprecated warns for max CL version
Disable deprecated OpenCL API warnings for max
OpenCL version defined in BOOST_COMPUTE_MAX_CL_VERSION.

Example: If you have 2.1 OpenCL headers and set
BOOST_COMPUTE_MAX_CL_VERSION to 102 (OpenCL 1.2), you
won't get warnings for using API function deprecated in
OpenCL 1.1.
2017-04-23 20:11:10 +02:00
Jakub Szuppe
ca75931466 Use BOOST_COMPUTE_CL_VERSION_X_Y in tests 2017-04-23 20:11:10 +02:00
Amir Shavit
09ef2163c2 Added BOOST_COMPUTE_MAX_CL_VERSION to specify the newest version to use 2017-04-23 20:11:09 +02:00
Jakub Szuppe
60a588955f Merge pull request #711 from haahh/pr_update_travis
Update Travis CI script
2017-04-23 20:08:33 +02:00
Jakub Szuppe
debbd92074 Fix Monte Carlo test for CI 2017-04-23 17:40:37 +02:00
Jakub Szuppe
9e48400ffe Enable C++11 in build for Coveralls 2017-04-23 17:40:37 +02:00
Jakub Szuppe
3875afe8c1 Use Boost 1.64 in Travis CI build 2017-04-23 17:40:37 +02:00
Denis Demidov
a7aa6cb564 Optionally enforce device selected with BOOST_COMPUTE_DEFAULT variables
See #692
2017-04-21 13:23:39 +03:00
Jakub Szuppe
2e790df587 Merge pull request #706 from haahh/pr_fix_valarray
Fix valarray copy ctor
2017-04-20 16:45:46 +02:00
Jakub Szuppe
dadfc113bd Fix bc::valarray copy ctor 2017-04-18 21:03:20 +02:00
Kyle Lutz
141c034ae6 Merge pull request #705 from haahh/pr_fix_badges
Fix badges in README.md
2017-04-15 10:51:33 -07:00
Jakub Szuppe
e29e9fabe2 Fix badges in README.md 2017-04-15 19:36:13 +02:00
Kyle Lutz
6de7f64487 Merge pull request #704 from huanzhang12/develop
use _WIN32 instead of WIN32
2017-04-12 21:40:12 -07:00
Huan Zhang
11c5e4af5c use _WIN32 instead of WIN32 2017-04-12 16:28:57 -07:00
Jakub Szuppe
139b947c34 Merge pull request #703 from haahh/pr_fix_tests_no_initializer_list
Fix for #484
2017-04-09 20:02:10 +02:00
Jakub Szuppe
a845026280 Merge pull request #702 from haahh/pr_fix_sort_by_key_bug
Fixes bug #688
2017-04-09 20:01:52 +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
4b080c1b6c Fixes bug #688 2017-04-07 19:38:25 +02:00
Kyle Lutz
dcc9178e8d Merge pull request #701 from haahh/pr_sort_by_key_custom_struct2
radix sort by key with custom value type, fixes #162
2017-04-02 22:20:04 -07:00
Jakub Szuppe
c21f705a2a Test sort_by_key with custom struct values 2017-04-02 17:18:04 +02:00