MUSIC unknown
Analysis for the MUSIC active-target ionization chamber
Loading...
Searching...
No Matches
gpu_interface.h
Go to the documentation of this file.
1#ifndef GPU_INTERFACE_H
2#define GPU_INTERFACE_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/* Sort an array of RawHit-layout structs by timestamp (uint64 at byte
9 offset 8). hits: pointer to contiguous array of structs. n_hits: number
10 of elements. Returns 0 on success, nonzero on failure. */
11int gpu_sort_hits_by_timestamp(void *hits, long long n_hits);
12
13#ifdef __cplusplus
14}
15#endif
16
17#endif
int gpu_sort_hits_by_timestamp(void *hits, long long n_hits)
Definition gpu_sort.cu:47