COVISE Core
Macros | Functions
helper_cuda.h File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "helper_string.h"
Include dependency graph for helper_cuda.h:

Go to the source code of this file.

Macros

#define DEVICE_RESET
 
#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 _ConvertSMVer2Cores (int major, int minor)
 

Macro Definition Documentation

◆ DEVICE_RESET

#define DEVICE_RESET

Copyright 1993-2014 NVIDIA Corporation. All rights reserved.

Please refer to the NVIDIA end user license agreement (EULA) associated with this source code for terms and conditions that govern your use of this software. Any use, reproduction, disclosure, or distribution of this software and related documentation outside the terms of the EULA is strictly prohibited.

◆ MAX

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

Function Documentation

◆ _ConvertSMVer2Cores()

int _ConvertSMVer2Cores ( int  major,
int  minor 
)
inline

◆ check()

template<typename T >
void check ( result,
char const *const  func,
const char *const  file,
int const  line 
)