#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "helper_string.h"
Go to the source code of this file.
◆ 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) |
◆ _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 |
|
) |
| |