ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
gpu_neighbor_list.cpp File Reference
#include "gpu_neighbor_list.h"
#include "source_base/timer.h"
#include <cstddef>
Include dependency graph for gpu_neighbor_list.cpp:

Namespaces

namespace  ModuleNeighList

Functions

int gpu_build_neighbor_list (int nall, double cutoff, const double *position, int *neighbor_count, int *neighbor_indices, int *max_neighbors, char *message, int message_size)
int gpu_filter_neighbor_list (int nall, double cutoff, const double *position, const int *candidate_count, const int *candidate_indices, int candidate_max_neighbors, int *neighbor_count, int *neighbor_indices, int *max_neighbors, char *message, int message_size)
int gpu_build_neighbor_list_device (int nall, double cutoff, const double *position, void **device_neighbor_count, void **device_neighbor_indices, int *max_neighbors, char *message, int message_size)
int gpu_filter_neighbor_list_device (int nall, double cutoff, const double *position, int candidate_max_neighbors, const void *device_candidate_count, const void *device_candidate_indices, void **device_neighbor_count, void **device_neighbor_indices, int *max_neighbors, char *message, int message_size)
int gpu_upload_neighbor_list (int nall, int max_neighbors, const int *neighbor_count, const int *neighbor_indices, void **device_neighbor_count, void **device_neighbor_indices, char *message, int message_size)
void gpu_release_neighbor_list (void *device_neighbor_count, void *device_neighbor_indices)

Function Documentation

◆ gpu_build_neighbor_list()

int gpu_build_neighbor_list ( int nall,
double cutoff,
const double * position,
int * neighbor_count,
int * neighbor_indices,
int * max_neighbors,
char * message,
int message_size )
Here is the caller graph for this function:

◆ gpu_build_neighbor_list_device()

int gpu_build_neighbor_list_device ( int nall,
double cutoff,
const double * position,
void ** device_neighbor_count,
void ** device_neighbor_indices,
int * max_neighbors,
char * message,
int message_size )
Here is the caller graph for this function:

◆ gpu_filter_neighbor_list()

int gpu_filter_neighbor_list ( int nall,
double cutoff,
const double * position,
const int * candidate_count,
const int * candidate_indices,
int candidate_max_neighbors,
int * neighbor_count,
int * neighbor_indices,
int * max_neighbors,
char * message,
int message_size )
Here is the caller graph for this function:

◆ gpu_filter_neighbor_list_device()

int gpu_filter_neighbor_list_device ( int nall,
double cutoff,
const double * position,
int candidate_max_neighbors,
const void * device_candidate_count,
const void * device_candidate_indices,
void ** device_neighbor_count,
void ** device_neighbor_indices,
int * max_neighbors,
char * message,
int message_size )
Here is the caller graph for this function:

◆ gpu_release_neighbor_list()

void gpu_release_neighbor_list ( void * device_neighbor_count,
void * device_neighbor_indices )
Here is the caller graph for this function:

◆ gpu_upload_neighbor_list()

int gpu_upload_neighbor_list ( int nall,
int max_neighbors,
const int * neighbor_count,
const int * neighbor_indices,
void ** device_neighbor_count,
void ** device_neighbor_indices,
char * message,
int message_size )
Here is the caller graph for this function: