tests/cuda4.1sdk/tests/ptxjit/ptxjit.cpp
inline void __checkCudaErrors( CUresult err, const char *file, const int line )
{
    if( CUDA_SUCCESS != err) {
        fprintf(stderr, "checkCudaErrors() Driver API error = %04d \"%s\" from file <%s>, line %i.\n",
                err, getCudaDrvErrorString(err), file, line );
        exit(-1);
    }
}
// These are the inline versions for all of the SDK helper functions
These are the inline versions for all of the SDK helper functions
These are the inline versions for all of the SDK helper functions
inline void __checkCudaErrors( CUresult err, const char *file, const int line )
{
    if( CUDA_SUCCESS != err) {
        fprintf(stderr, "checkCudaErrors() Driver API error = %04d \"%s\" from file <%s>, line %i.\n",
                err, getCudaDrvErrorString(err), file, line );
        exit(-1);
    }
}
inline void __checkCudaErrors ( CUresult err , const char * file , const int line ) { if ( CUDA_SUCCESS != err ) { fprintf ( stderr , " \" \" \n " , err , getCudaDrvErrorString ( err ) , file , line ) ; exit ( -1 ) ; } }
These are the inline versions for all of the SDK helper functions
These are the inline versions for all of the SDK helper functions