Jakub Szuppe
1abd2b2eeb
Adjust .travis.yml to Travis CI changes
2018-02-27 15:58:38 +01:00
Jakub Szuppe
ca75931466
Use BOOST_COMPUTE_CL_VERSION_X_Y in tests
2017-04-23 20:11:10 +02:00
Jakub Szuppe
cb9fd9dfb5
Fix destructor_callback test
...
It must be thread-safe.
2017-03-16 22:25:29 +01:00
Jakub Szuppe
796c5d4629
Fix tests for clSetMemObjectDestructorCallback()
2016-04-10 12:42:35 +02:00
Jakub Szuppe
11d445a1f5
POCL does not support clSetMemObjectDestructorCallback
2016-02-16 21:28:25 +01:00
Jakub Szuppe
1b059f8100
Runtime OpenCL version check in tests
2015-09-24 15:44:52 +02:00
Bastian Köcher
60f4b31bdd
Add runtime version checking in the command_queue functions and fixed bug with context::get_device().
...
This adds runtime version checking in the command_queue functions which fixes issues if you compile
with OpenCL2.x and run your code on OpenCL1.x devices.
Fixed bug with context::get_device() if the context contains more than one device.
2015-06-04 11:59:54 +02:00
Kyle Lutz
fda67a22d0
Update GitHub links
2015-05-17 20:32:09 -07:00
Kyle Lutz
3c56ea4cbe
Preserve memory flags in buffer::clone()
2015-02-07 12:27:24 -08:00
Bastian Köcher
1e711e0330
- Rebased with develop branch
...
- Moved include into the test
Conflicts:
test/test_buffer.cpp
2015-01-20 10:19:37 +01:00
Bastian Köcher
09d3c44cd7
- Added templated register_destructor_callback function and a test for this new functionality
2015-01-16 16:38:25 +01:00
Bastian Köcher
78ce892705
- Added testcase for subbuffer creation
...
- Added documentation and asserts for buffer.create_subbuffer function
2015-01-16 15:57:28 +01:00
Denis Demidov
201f85a038
Skip tests requiring OpenCL 1.2 on usupported devices
2014-07-12 22:54:16 +04:00
Kyle Lutz
cae813ec3c
Add get_info<Info>() specializations
2014-07-07 19:14:14 -07:00
Kyle Lutz
a639e408b8
Cleanup move-semantics for all core types
2014-06-08 13:40:27 -07:00
Kyle Lutz
732ab539f3
Improve documentation
2014-06-07 15:03:56 -07:00
Kyle Lutz
b228de76a7
Add memory_object::set_destructor_callback() method
2014-06-07 11:13:52 -07:00
Kyle Lutz
667aa9c200
Add buffer::clone() method
2014-03-20 23:31:41 -07:00
Denis Demidov
5d77bbebee
Global setup for OpenCL context in tests
...
refs kylelutz/compute#9
device, context, and queue are initialized statically in `context_setup.hpp`.
With this change all tests are able to complete when an NVIDIA GPU is in
exclusive compute mode.
Side effect of the change:
Time for all tests to complete reduced from 15.71 to 13.03 sec Tesla C2075.
2013-04-19 14:53:59 +04:00
Kyle Lutz
8142e5d5f9
Add move-constructors to wrapper classes
...
This adds move-constructors and move-assignment operators
to the OpenCL wrapper classes.
2013-04-17 20:45:04 -04:00
Kyle Lutz
4bdec761cd
Add memory_object::reference_count() method
...
This adds a reference_count() method to the memory_object
class which returns its current reference count.
2013-04-13 11:07:04 -04:00
Kyle Lutz
001b3ff7fe
Add get() methods to wrapper classes
...
This adds a get() method to each wrapper class which returns
a reference to the underlying OpenCL object.
2013-04-13 09:44:51 -04:00
Kyle Lutz
e8f77897eb
Add construct_from_cl_mem test-case to test_buffer
...
This adds a new test-case to test_buffer which checks the
functionality of the buffer(cl_mem) constructor.
2013-03-19 17:46:14 -04:00
Kyle Lutz
d34cdaac59
Initial commit
2013-03-02 15:14:17 -05:00