Surface reads / writes (byte offsets on x, like real surfaces)#

Defined in code/simulator.h.

This page documents 5 symbols: 5 functions.

Functions#

Signature

Description

Availability

Location

Example

inline void surf1Dread(T* out, cudaSurfaceObject_t obj, int xByte, cudaSurfaceBoundaryMode = cudaBoundaryModeTrap)

sim only

simulator.h:3232

inline void surf1Dwrite(T v, cudaSurfaceObject_t obj, int xByte, cudaSurfaceBoundaryMode = cudaBoundaryModeTrap)

sim only

simulator.h:3237

inline void surf2Dread(T* out, cudaSurfaceObject_t obj, int xByte, int y, cudaSurfaceBoundaryMode = cudaBoundaryModeTrap)

sim only

simulator.h:3209

inline T surf2Dread(cudaSurfaceObject_t obj, int xByte, int y, cudaSurfaceBoundaryMode = cudaBoundaryModeTrap)

sim only

simulator.h:3216

inline void surf2Dwrite(T v, cudaSurfaceObject_t obj, int xByte, int y, cudaSurfaceBoundaryMode = cudaBoundaryModeTrap)

sim only

simulator.h:3221