Skip to content

Commit

Permalink
Correct missing type
Browse files Browse the repository at this point in the history
  • Loading branch information
wphicks committed Dec 4, 2023
1 parent b5e9a99 commit ec9aee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/include/raft/core/device_resources_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ struct device_resources_manager {
// all host threads.
auto const& get_device_resources_(int device_id)
{
thread_local thread_resources = std::vector<std::optional<raft::device_resources>>([]() {
thread_local auto thread_resources = std::vector<std::optional<raft::device_resources>>([]() {
auto result = 0;
RAFT_CUDA_TRY(cudaGetDeviceCount(&result));
RAFT_EXPECTS(result != 0, "No CUDA devices found");
Expand Down

0 comments on commit ec9aee1

Please sign in to comment.