APEX Framework: ApexCudaContextManager.h Source File

NVIDIA APEX

ApexCudaContextManager.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008-2017, NVIDIA CORPORATION.  All rights reserved.
00003  *
00004  * NVIDIA CORPORATION and its licensors retain all intellectual property
00005  * and proprietary rights in and to this software, related documentation
00006  * and any modifications thereto.  Any use, reproduction, disclosure or
00007  * distribution of this software and related documentation without an express
00008  * license agreement from NVIDIA CORPORATION is strictly prohibited.
00009  */
00010 
00011 
00012 #ifndef APEX_CUDA_CONTEXT_MANAGER_H
00013 #define APEX_CUDA_CONTEXT_MANAGER_H
00014 
00020 #include "foundation/Px.h"
00021 #include "ApexSDK.h"
00022 
00023 namespace physx
00024 {
00025     class PxCudaContextManager;
00026     class PxCudaContextManagerDesc;
00027 }
00028 
00029 namespace nvidia
00030 {
00031 namespace apex
00032 {
00033 
00039 APEX_API int CALL_CONV GetSuggestedCudaDeviceOrdinal(PxErrorCallback& errc);
00040 
00046 APEX_API PxCudaContextManager*  CALL_CONV CreateCudaContextManager(
00047     const PxCudaContextManagerDesc& desc, PxErrorCallback& errorCallback);
00048 }
00049 }
00050 
00051 #endif // APEX_CUDA_CONTEXT_MANAGER_H

Generated on Fri Dec 15 2017 13:58:35
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.