Jakub Szuppe
509ebe4a92
Merge pull request #780 from jszuppe/fix_memory_leak_746
...
Fix memory leak
2018-05-13 22:14:06 +02:00
Jakub Szuppe
58bf86692c
Fix mem. leak in buffer_iterator_index_expr default copy ctor
...
OpenCL buffer reference counter was increased in default copy ctor (since
it called compute::buffer copy ctor), but was never decremented because
dtor sets buffer to null preventing that.
2018-05-12 12:29:44 +02:00
Jakub Szuppe
6e6bcf6bc8
Add buffer memory leak test case
...
See issue #746
2018-05-12 12:29:44 +02:00
Jakub Szuppe
b0f5bfc4ba
Merge pull request #776 from 9prady9/gcc8_fix
...
Fix compilation errors with GCC 8
2018-05-12 11:27:44 +02:00
pradeep
450a109c4a
Fix device var access in tests macro calls
2018-05-08 14:55:41 +05:30
pradeep
fdbdb94db6
Fix return var qualifier in svm_ptr::get_context
...
Lack of `const` qualifier is throwing errors with GCC 8.1
2018-05-08 14:53:42 +05:30
Jakub Szuppe
520f9b35b1
Merge pull request #773 from sznaider/fix-cl-gl-extension-name
...
Use system-dependent CL<->GL sharing extension name instead of hardcoded string
2018-04-12 14:24:39 +02:00
Mateusz Krawiec
330a6dcfdb
Use system-dependent CL<->GL sharing extension name instead of hardcoded string
2018-04-11 22:54:07 +02:00
Jakub Szuppe
1bf4b53f60
Merge pull request #763 from lakshayg/static_assert
...
add static asserts for device iterators
2018-03-10 09:23:10 +01:00
Jakub Szuppe
e4ccfe39a6
Merge pull request #765 from lakshayg/future_then
...
add future::then() method
2018-03-10 09:12:37 +01:00
Lakshay Garg
d833b22bb1
Add is_device_asserts
2018-03-04 16:59:49 +05:30
Lakshay Garg
ade726a613
Remove STATIC_ASSERTs which caused failures
2018-03-04 16:56:38 +05:30
Lakshay Garg
147a330984
add static asserts for device iterators
2018-03-04 16:56:38 +05:30
Lakshay Garg
a6879d2c2c
add future::then() method
...
resolves #94
2018-03-04 16:56:03 +05:30
Jakub Szuppe
f8aa62c42f
Merge pull request #770 from jszuppe/fix_coverage_info
...
Ignore dependencies in coverage info
2018-02-28 12:17:19 +01:00
Jakub Szuppe
635c828227
Ignore dependencies in coverage info
2018-02-28 10:47:18 +01:00
Jakub Szuppe
4650541e3b
Merge pull request #761 from jeffhammond/use-std-shuffle-in-random_shuffle
...
use std::shuffle for post-C++11
2018-02-28 09:56:47 +01:00
Jakub Szuppe
22f6192eda
Merge pull request #762 from ddemidov/boost-uuid-sha1-warning
...
boost/uuid/sha1.hpp is deprecated since v1.66
2018-02-27 19:48:06 +01:00
Jeff Hammond
ebf13a6c77
fix error in use of std::random_device
2018-02-27 19:45:48 +01:00
Jeff Hammond
b46d156064
initialize random engine with random device
2018-02-27 19:45:48 +01:00
Jeff Hammond
520a4f384e
use std::shuffle for post-C++11
...
std::random_shuffle was deprecated in C++14 and deleted in C++17.
std::shuffle was added in C++11. using it fixes build issues with
clang+libc++ when compiling with -std=c++1z.
fixes issue #760
2018-02-27 19:45:48 +01:00
Jakub Szuppe
0831944bbf
Merge pull request #769 from jszuppe/travis_ci_fix
...
Adjust .travis.yml to Travis CI changes
2018-02-27 19:37:43 +01:00
Jakub Szuppe
1abd2b2eeb
Adjust .travis.yml to Travis CI changes
2018-02-27 15:58:38 +01:00
Denis Demidov
615e1ac41b
boost/uuid/sha1.hpp is deprecated since v1.66
...
This suppresses the warning at
https://github.com/boostorg/uuid/blob/boost-1.66.0/include/boost/uuid/sha1.hpp#L13
2018-02-01 11:01:06 +03:00
Jakub Szuppe
34c0d16458
Merge pull request #752 from Kristian-Popov/program-build-failure-exception
...
program::build() method throws a failure exception that contains a build log
2017-11-29 10:24:50 +01:00
Jakub Szuppe
a3c4126860
Add 2 more missing runtime check for 2.1
2017-11-28 20:48:05 +01:00
Jakub Szuppe
f65d9a98ed
Update test to support POCL
2017-11-28 20:48:04 +01:00
Kristian Popov
50338da2aa
Added no throwing destructor to program build failure
2017-11-28 20:47:59 +01:00
Kristian Popov
0100733230
Added copyright notice to new files
2017-11-28 20:45:54 +01:00
Kristian Popov
a091e5d5c8
Added 2 new test cases for program build failure handling
2017-11-28 20:45:54 +01:00
Kristian Popov
286c7dc9ca
Program build throws a more precise exception that stores build log
2017-11-28 20:45:51 +01:00
Jakub Szuppe
ce38fb7b95
Merge pull request #753 from jszuppe/fix_opencl_21_tests
...
Add runtime checks for OpenCL 2.1 feature tests
2017-11-17 08:58:57 +01:00
Jakub Szuppe
a0082b5f7d
Add runtime checks for OpenCL 2.1 feature tests
2017-11-16 23:08:52 +01:00
Jakub Szuppe
7daca6fc1f
Merge pull request #747 from jszuppe/fix_threefry
...
Fix Threefry RNG
2017-10-14 11:11:54 +02:00
Jakub Szuppe
77b4a4910b
Threefry: use ulong_ instead of uint2_ on host
2017-10-13 11:39:27 +02:00
Jakub Szuppe
750b8a2782
Fix Travis-CI script
2017-10-13 11:39:27 +02:00
Jakub Szuppe
7ecb09a47c
Fix Threefry RNG
2017-10-12 22:14:26 +02:00
Jakub Szuppe
3fd1ed49e4
Zero-initialize vector types
2017-10-12 22:14:13 +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