cudaError_t WINAPI wine_cudaMalloc3D( struct cudaPitchedPtr* pitchDevPtr, struct cudaExtent extent ) { WINE_TRACE("\n"); return cudaMalloc3D( pitchDevPtr, extent ); }
Buffer3D::Buffer3D( size_t elementSize, dp::math::Vec3ui const& extent ) : m_elementSize( elementSize ) , m_extent( extent ) { CUDA_VERIFY( cudaMalloc3D( &m_pitchedPtr, make_cudaExtent( m_elementSize * m_extent[0], m_extent[1], m_extent[2] ) ) ); }