ddemidov / vexcl
Showing 1 of 1 files from the diff.
Newly tracked file
vexcl/vector.hpp changed.

@@ -1034,7 +1034,9 @@
Loading
1034 1034
template <class Th, class Td>
1035 1035
typename std::enable_if<!std::is_same<Td, Th>::value, void>::type
1036 1036
copy(const std::vector<Th> &hv, vex::vector<Td> &dv, bool blocking = true) {
1037 -
    std::vector<Td> tmp(hv.begin(), hv.end());
1037 +
    std::vector<Td> tmp(hv.size());
1038 +
    for (size_t i = 0; i < hv.size(); ++i)
1039 +
        tmp[i] = hv[i];
1038 1040
    dv.write_data(0, dv.size(), tmp.data(), true);
1039 1041
}
1040 1042
Files Coverage
examples 6.99%
tests 99.69%
vexcl 94.05%
CL/cl.hpp 79.87%
Project Totals (131 files) 90.41%
1444.1
TRAVIS_OS_NAME=linux
1444.3
TRAVIS_OS_NAME=linux
1444.8
TRAVIS_OS_NAME=osx
1444.7
TRAVIS_OS_NAME=osx
1444.9
TRAVIS_OS_NAME=osx

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading