Commit Graph

10 Commits

Author SHA1 Message Date
Jakub Szuppe
2af23fa7e9 Change various tests to work with non-default context
Now all tests work even if Context::context, Context::device,
Context::queue are not default context, device and queue. This
is required for developing better tests in the future.

Note: Some tests may work only for default context/queue/device
since classes that they test work only for default context/q/d.
There are two solutions for this problem: either those tests run
on default queue (no matter what) or they does not run when
Context::context is not the default context. See test_string.cpp.
2016-07-16 20:30:28 +02:00
Kyle Lutz
fda67a22d0 Update GitHub links 2015-05-17 20:32:09 -07:00
Mageswaran.D
9d813a2309 oveloaded find() for string and char pointer 2014-11-27 11:31:43 +05:30
Mageswaran.D
4b50a5c1dc added support for output stream(cout<<) for compute::string : updated 2014-11-09 03:07:51 +05:30
Kyle Lutz
52eab193e7 Merge pull request #301 from Mageswaran1989/swap_api_string_class
added swap api for string class
2014-11-07 12:03:08 -08:00
Mageswaran.D
119e201c94 added swap api for string class 2014-11-07 23:51:00 +05:30
Mageswaran.D
bdc6d79e4d String::find() signed char fix with test case 2014-11-04 13:06:11 +05:30
Kyle Lutz
1dd35de225 Fix sign comparison warnings in tests 2014-01-14 21:29:25 -08: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
d34cdaac59 Initial commit 2013-03-02 15:14:17 -05:00