Fixed a compiler error and removed an unnecessary memcpy (from device to host) - performance seems to have crossed the 300M updates/second mark for the A100

This commit is contained in:
Martin Bauernfeind
2022-07-11 00:55:42 +02:00
parent d1c2249b55
commit f61f59ba3f
2 changed files with 1 additions and 5 deletions

View File

@@ -92,7 +92,7 @@ __global__ void sort_bin_contents_kernel(int* bincount, int* bins, int mbins, in
sorted = 0;
}
}
} while (!sorted)
} while (!sorted);
}
__global__ void binatoms_kernel(Atom a, int* bincount, int* bins, int atoms_per_bin, Neighbor_params np, int *resize_needed){