We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dc547f3 + df593d7 commit 831295aCopy full SHA for 831295a
1 file changed
src/TiledArray/device/cpu_cuda_vector.h
@@ -62,7 +62,7 @@ class cpu_cuda_vector {
62
63
size_type size() const {
64
if (on_host()) return host_vec_.size();
65
- if (on_device()) return device_vec_.size();
+ else return device_vec_.size();
66
}
67
68
void resize(size_type new_size) {
0 commit comments