ddemidov / vexcl
Showing 1 of 1 files from the diff.

@@ -125,6 +125,13 @@
Loading
125 125
        struct { T x, y; };
126 126
    };
127 127
128 +
    template <class O>
129 +
    const vector_type2& operator=(O o) {
130 +
        s0 = o;
131 +
        s1 = o;
132 +
        return *this;
133 +
    }
134 +
128 135
    const vector_type2& operator*=(const vector_type2 &o) {
129 136
        s0 *= o.s0;
130 137
        s1 *= o.s1;
@@ -234,6 +241,15 @@
Loading
234 241
        struct { T x, y, z, w; };
235 242
    };
236 243
244 +
    template <class O>
245 +
    const vector_type4& operator=(O o) {
246 +
        s0 = o;
247 +
        s1 = o;
248 +
        s2 = o;
249 +
        s3 = o;
250 +
        return *this;
251 +
    }
252 +
237 253
    const vector_type4& operator*=(const vector_type4 &o) {
238 254
        s0 *= o.s0;
239 255
        s1 *= o.s1;
Files Coverage
examples 5.37%
tests 99.69%
vexcl 94.30%
CL/cl.hpp 84.27%
Project Totals (122 files) 90.87%
1434.1
TRAVIS_OS_NAME=linux
1434.3
TRAVIS_OS_NAME=linux
1434.9
TRAVIS_OS_NAME=osx
1434.7
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