2.1. CUPTI Version

Function and macro to determine the CUPTI version.

Defines

#define CUPTI_API_VERSION 10
The API version for this implementation of CUPTI.

Functions

CUptiResult cuptiGetVersion ( uint32_t* version )
Get the CUPTI API version.

Defines

#define CUPTI_API_VERSION 10

The API version for this implementation of CUPTI. This define along with cuptiGetVersion can be used to dynamically detect if the version of CUPTI compiled against matches the version of the loaded CUPTI library.

v1 : CUDAToolsSDK 4.0 v2 : CUDAToolsSDK 4.1 v3 : CUDA Toolkit 5.0 v4 : CUDA Toolkit 5.5 v5 : CUDA Toolkit 6.0 v6 : CUDA Toolkit 6.5 v7 : CUDA Toolkit 6.5(with sm_52 support) v8 : CUDA Toolkit 7.0 v9 : CUDA Toolkit 8.0 v10 : CUDA Toolkit 9.0

Functions

CUptiResult cuptiGetVersion ( uint32_t* version )
Get the CUPTI API version.
Parameters
version
Returns the version
Returns

  • CUPTI_SUCCESS

    on success

  • CUPTI_ERROR_INVALID_PARAMETER

    if version is NULL

Description

Return the API version in *version.

See also:

CUPTI_API_VERSION