Skip to content

Commit

Permalink
Fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jul 22, 2024
1 parent b039cd3 commit ab022ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/host_device_vector.cu
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class HostDeviceVectorImpl {
if (device.IsCUDA()) {
gpu_access_ = GPUAccess::kWrite;
SetDevice();
data_d_->Resize(size, v);
data_d_->resize(size, v);
} else {
data_h_.resize(size, v);
}
Expand Down

0 comments on commit ab022ee

Please sign in to comment.