ToolDAQFramework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
helper_cuda.h File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <helper_string.h>

Go to the source code of this file.

Macros

#define DEVICE_RESET
 
#define EXIT_WAIVED   2
 
#define MAX(a, b)   (a > b ? a : b)
 

Functions

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

Macro Definition Documentation

#define DEVICE_RESET

Definition at line 886 of file helper_cuda.h.

#define EXIT_WAIVED   2

Copyright 1993-2013 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.

Definition at line 27 of file helper_cuda.h.

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

Definition at line 925 of file helper_cuda.h.

Function Documentation

int _ConvertSMVer2Cores ( int  major,
int  minor 
)
inline

Definition at line 935 of file helper_cuda.h.

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

Definition at line 891 of file helper_cuda.h.

int ftoi ( float  value)
inline

Definition at line 929 of file helper_cuda.h.