Speclib  0.1.2
The library for writing better CUDA libraries
sp::VariantOutputPtr Struct Reference

An output pointer represented as a void* and a cudaDataType_t. More...

#include <CudaScalar.hpp>

Public Member Functions

 VariantOutputPtr (void *data, cudaDataType_t type)
 

Public Attributes

void * data
 The pointer. More...
 
cudaDataType_t type
 Value representing the real type of the pointer. More...
 

Detailed Description

An output pointer represented as a void* and a cudaDataType_t.

Specialises to an appropriate T*.

Member Data Documentation

◆ data

void* sp::VariantOutputPtr::data

The pointer.

◆ type

cudaDataType_t sp::VariantOutputPtr::type

Value representing the real type of the pointer.