ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
Macros | Functions
helper_cuda.h File Reference
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "helper_string.h"
Include dependency graph for helper_cuda.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MAX(a, b)   (a > b ? a : b)
 

Functions

template<typename T >
void check (T result, char const *const func, const char *const file, int const line)
 
int ftoi (float value)
 
int _ConvertSMVer2Cores (int major, int minor)
 
const char * _ConvertSMVer2ArchName (int major, int minor)
 

Macro Definition Documentation

◆ MAX

#define MAX (   a,
 
)    (a > b ? a : b)

Function Documentation

◆ _ConvertSMVer2ArchName()

const char * _ConvertSMVer2ArchName ( int  major,
int  minor 
)
inline

◆ _ConvertSMVer2Cores()

int _ConvertSMVer2Cores ( int  major,
int  minor 
)
inline

◆ check()

template<typename T >
void check ( T  result,
char const *const  func,
const char *const  file,
int const  line 
)
Here is the call graph for this function:

◆ ftoi()

int ftoi ( float  value)
inline