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
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