APEX Framework: CudaTestManager.h Source File

NVIDIA APEX

CudaTestManager.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 CUDA_TEST_MANAGER_H
00013 #define CUDA_TEST_MANAGER_H
00014 
00020 #include <ApexUsingNamespace.h>
00021 
00022 namespace nvidia
00023 {
00024 namespace apex
00025 {
00026 
00027 PX_PUSH_PACK_DEFAULT
00028 
00035 class CudaTestManager
00036 {
00037 public:
00041     virtual void setWritePath(const char* path) = 0;
00042 
00046     virtual void setWriteForFunction(const char* functionName, const char* moduleName) = 0;
00047 
00051     virtual void setMaxSamples(uint32_t maxFrames) = 0;
00052 
00056     virtual void setFrames(uint32_t numFrames, const uint32_t* frames) = 0;
00057     
00061     virtual void setFramePeriod(uint32_t period) = 0;
00062 
00066     virtual void setCallPerFrameMaxCount(uint32_t cpfMaxCount) = 0;
00067 
00071     virtual void setWriteForNotSuccessfulKernel(bool flag) = 0;
00072 
00076     virtual bool runKernel(const char* path) = 0;
00077 };
00078 
00079 PX_POP_PACK
00080 
00081 }
00082 }
00083 
00084 #endif // CUDA_TEST_MANAGER_H
00085 

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.