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 c88d5df commit 051edd5Copy full SHA for 051edd5
sycl/test-e2e/Basic/buffer/buffer.cpp
@@ -515,9 +515,9 @@ int main() {
515
std::vector<bool> bool_vector;
516
std::vector<int> int_vector;
517
std::vector<float> float_vector;
518
- bool_vector.reserve(size);
519
- int_vector.reserve(size);
520
- float_vector.reserve(size);
+ bool_vector.resize(size);
+ int_vector.resize(size);
+ float_vector.resize(size);
521
522
sycl::queue Queue;
523
std::mutex m;
0 commit comments