All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
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.


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


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


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.

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

Function Documentation

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