2
0
mirror of https://github.com/boostorg/compute.git synced 2026-02-21 15:02:23 +00:00
Commit Graph

1323 Commits

Author SHA1 Message Date
Mateusz Krawiec
330a6dcfdb Use system-dependent CL<->GL sharing extension name instead of hardcoded string 2018-04-11 22:54:07 +02:00
Kyle Lutz
d36ef02b78 Merge pull request #742 from jszuppe/fix_strided_iter_tag
Fix strided_iterator tag
boost-1.67.0 boost-1.66.0
2017-09-12 05:22:47 +02:00
Jakub Szuppe
fe23b07b7c Update latest Boost lib to 1.65.1 in CI 2017-09-10 23:24:55 +02:00
Jakub Szuppe
0265da75a4 Ignore warning from BOOST_STATIC_ASSERT_MSG in CI
Only for clang 3.9 on Trusty.
2017-09-10 23:24:55 +02:00
Jakub Szuppe
ad59c4e31f Update AMD APP SDK download script 2017-09-10 23:24:55 +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
Kyle Lutz
d4981494a7 Merge pull request #739 from jmr1/build_with_source_file
#738 build_with_source_file() added
2017-08-16 22:42:56 -07:00
Janusz Rupar
2973b1c067 #738 build_with_source_file() added 2017-08-16 16:55:21 +02:00
Jakub Szuppe
bc75c5591f Merge pull request #737 from ddemidov/osx-size_t
size_t and ptrdiff_t need special treatment on OSX
2017-08-10 13:24:49 +02:00
Denis Demidov
c9522ad4c0 size_t and ptrdiff_t need special treatment on OSX
See ddemidov/vexcl#222
2017-08-08 11:23:36 +03:00
Jakub Szuppe
0c2f749fb8 Merge pull request #733 from jszuppe/pr_vector_shrink_to_fit
Implement vector::shrink_to_fit()
2017-07-10 23:49:51 +02:00
Jakub Szuppe
6c2a3604b9 Implement vector::shrink_to_fit() 2017-06-17 17:44:26 +02:00
Jakub Szuppe
766dc7881c Fix memory releasing in vector
Memory (buffer) should be released if capacity is greater
than zero (which means that something was allocated), not if size
is greater than zero.
2017-06-17 17:42:03 +02:00
Jakub Szuppe
cff33b24a6 Fix warning #730 2017-06-17 14:11:18 +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
Kyle Lutz
08e00e3848 Merge pull request #729 from jszuppe/pr_default_device_queue
Default device queue
2017-06-10 19:13:44 -07:00
Jakub Szuppe
ed2fadbac6 Merge pull request #728 from jszuppe/fix_727
Fix issue #727
2017-06-07 11:01:21 +02:00
Jakub Szuppe
97b91bffa1 Fix OpenCL 2.1 references 2017-06-04 14:47:37 +02:00
Jakub Szuppe
cb534cdfa2 Add clSetDefaultDeviceCommandQueue wrapper 2017-06-04 14:46:05 +02:00
Jakub Szuppe
70234dd24b Fix issue #727 2017-06-03 13:32:41 +02:00
Kyle Lutz
35aa665c75 Merge pull request #726 from jszuppe/pr_device_host_timers
Add wrappers for clGetHostTimer and clGetDeviceAndHostTimer
2017-05-27 16:18:33 -07:00
Jakub Szuppe
8f0b1bbc3f Make device get timer methods const 2017-05-27 20:31:53 +02:00
Jakub Szuppe
b43adb4517 Add host timer res query to platform 2017-05-27 18:05:01 +02:00
Jakub Szuppe
725a8fa8e8 Add tests for device timer methods 2017-05-27 18:05:01 +02:00
Jakub Szuppe
86af893f58 Add OpenCL 2.1 device info queries 2017-05-27 18:05:01 +02:00
Jakub Szuppe
80ef5a7758 Add clGetHostTimer and clGetDeviceAndHostTimer
Add wrappers for clGetHostTimer and clGetDeviceAndHostTimer to
device class.
2017-05-27 18:05:01 +02:00
Kyle Lutz
23ce38e1b2 Merge pull request #724 from jszuppe/pr_program_with_il
Add program::create_program_with_il()
2017-05-23 08:15:43 -07: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
7542dd0622 Add create_program_with_il() to program 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
Jakub Szuppe
9795eabc98 Merge pull request #722 from jmr1/vector_reserve
vector::reserve() implemented
2017-05-15 17:07:23 +02:00
Janusz Rupar
da05ba9631 vector::reserve() implemented
Fixes bug #687
2017-05-14 11:32:33 +02:00
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
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
c736d6eb9c Add check_version() to platform class 2017-05-12 21:23:03 +02:00
Jakub Szuppe
77fe5e8204 Add desc to check_version() in device class 2017-05-12 21:23:03 +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