Skip to content

Commit 0b8a6ef

Browse files
committed
update log statement
1 parent 7817d8f commit 0b8a6ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/src/hdbscan/runner.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ void _fit_hdbscan(const raft::handle_t& handle,
115115

116116
cudaPointerAttributes attr;
117117
RAFT_CUDA_TRY(cudaPointerGetAttributes(&attr, X));
118-
bool data_on_device = attr.type == cudaMemoryTypeDevice;
119-
RAFT_LOG_INFO("dataset on device %d", data_on_device);
118+
bool data_on_device = attr.devicePointer;
119+
RAFT_LOG_INFO("dataset is device accessible %d", data_on_device);
120120

121121
build_linkage(handle, X, m, n, metric, params, core_dists, out);
122122

0 commit comments

Comments
 (0)