Open zsz00 opened 5 years ago
The code here is quite old (before juia ran anything on GPUs) and written using loops so it isn't really gpu friendly. You should be able to fairly easy write the euclidean distance using broadcasting which works on GPU (https://math.stackexchange.com/questions/2240429/pairwise-distance-matrix).
how to calculate Euclidean distance using GPU ? I want to calculate Euclidean distance between 10000000x512 matrix and 10000000x512 matrix . Can I use GPU ?? and how to do this??