00001 /* 00002 * Copyright 1993-2009 NVIDIA Corporation. All rights reserved. 00003 * 00004 * NOTICE TO USER: 00005 * 00006 * This source code is subject to NVIDIA ownership rights under U.S. and 00007 * international Copyright laws. 00008 * 00009 * NVIDIA MAKES NO REPRESENTATION ABOUT THE SUITABILITY OF THIS SOURCE 00010 * CODE FOR ANY PURPOSE. IT IS PROVIDED "AS IS" WITHOUT EXPRESS OR 00011 * IMPLIED WARRANTY OF ANY KIND. NVIDIA DISCLAIMS ALL WARRANTIES WITH 00012 * REGARD TO THIS SOURCE CODE, INCLUDING ALL IMPLIED WARRANTIES OF 00013 * MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE. 00014 * IN NO EVENT SHALL NVIDIA BE LIABLE FOR ANY SPECIAL, INDIRECT, INCIDENTAL, 00015 * OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS 00016 * OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE 00017 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE 00018 * OR PERFORMANCE OF THIS SOURCE CODE. 00019 * 00020 * U.S. Government End Users. This source code is a "commercial item" as 00021 * that term is defined at 48 C.F.R. 2.101 (OCT 1995), consisting of 00022 * "commercial computer software" and "commercial computer software 00023 * documentation" as such terms are used in 48 C.F.R. 12.212 (SEPT 1995) 00024 * and is provided to the U.S. Government only as a commercial end item. 00025 * Consistent with 48 C.F.R.12.212 and 48 C.F.R. 227.7202-1 through 00026 * 227.7202-4 (JUNE 1995), all U.S. Government End Users acquire the 00027 * source code with only those rights set forth herein. 00028 */ 00029 #ifndef NV_NPPCORE_H 00030 #define NV_NPPCORE_H 00031 00039 #include "nppdefs.h" 00040 00041 #ifdef __cplusplus 00042 extern "C" { 00043 #endif 00044 00057 const NppLibraryVersion * 00058 nppGetLibVersion(); 00059 00069 NppGpuComputeCapability 00070 nppGetGpuComputeCapability(); 00071 00077 int 00078 nppGetGpuNumSMs(); 00079 00085 const char * 00086 nppGetGpuName(); 00087 00088 // Module LabelCoreNPP 00092 #ifdef __cplusplus 00093 } // extern "C" 00094 #endif 00095 00096 #endif // NV_NPPCORE_H