Closed lindafei01 closed 3 months ago
Hi @lindafei01 ,
Thanks for your interest in our work.
Since ranges_slice
and diagonal_ranges
are directly copy-pasted from the code I wrote for dMaSIF, the most likely explanation here is that there is a problem with x_batch
or y_batch
.
The ranges
syntax is very low-level and directly manipulates pointers (without any checks for performance reasons), so any misunderstanding of our conventions throws CUDA_ERROR_ILLEGAL_ADDRESS errors (i.e. segmentation faults).
Could you maybe provide us with a minimal non-working example including specific values for x, y, x_batch, y_batch, k
?
Best regards, Jean
Thanks for your prompt response! I've identified the problem in my implementation of x_batch and y_batch. The problem is solved now.
Hi, I encountered “[KeOps] error: cuCtxSynchronize() failed with error CUDA_ERROR_ILLEGAL_ADDRESS” when using “idx = pairwise_distance_ij.argKmin(K=k, axis=1). ”
The relevant function is as below.