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

@@ -91,7 +91,9 @@
Loading
91 91
        }
92 92
93 93
        size_t size() const {
94 -
            return buffer.getInfo<CL_MEM_SIZE>() / sizeof(T);
94 +
            if (buffer())
95 +
                return buffer.getInfo<CL_MEM_SIZE>() / sizeof(T);
96 +
            return 0;
95 97
        }
96 98
97 99
        struct buffer_unmapper {
Files Coverage
tests 98.79%
vexcl 94.29%
CL/cl.hpp 85.20%
examples/devlist.cpp 96.15%
Project Totals (122 files) 94.82%
Notifications are pending CI completion. Waiting for GitHub's status webhook to queue notifications. Push notifications now.
1424.2
TRAVIS_OS_NAME=linux
1424.3
TRAVIS_OS_NAME=linux
1424.1
TRAVIS_OS_NAME=linux

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