diff --git a/cpp/src/copying/concatenate.cu b/cpp/src/copying/concatenate.cu index 6fc49afd7ac..4237e3f0954 100644 --- a/cpp/src/copying/concatenate.cu +++ b/cpp/src/copying/concatenate.cu @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2024, NVIDIA CORPORATION. + * Copyright (c) 2020-2025, NVIDIA CORPORATION. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -308,11 +308,11 @@ std::unique_ptr for_each_concatenate(host_span views, auto count = 0; for (auto& v : views) { - cudaMemcpyAsync(m_view.begin() + count, - v.begin(), - v.size() * sizeof(T), - cudaMemcpyDeviceToDevice, - stream.value()); + CUDF_CUDA_TRY(cudaMemcpyAsync(m_view.begin() + count, + v.begin(), + v.size() * sizeof(T), + cudaMemcpyDefault, + stream.value())); count += v.size(); }