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.
1 parent dc547f3 commit df593d7Copy full SHA for df593d7
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