// Clean up array from the device void bones_free__(void) { cudaStreamSynchronize(kernel_stream); cudaFree(device_); }