cudyn_elmtype_t: Elementary Types
[cudyn/type.h: Dynamic Types]

Data Structures

struct  cudyn_elmtype


#define cudyn_elmtype_to_type(t)   cu_to2(cuoo_type, cudyn_inltype, t)
#define cudyn_elmtype_from_type(t)   cu_from2(cudyn_elmtype, cudyn_inltype, cuoo_type, t)


cuoo_type_t cudyn_elmtype_type ()
cu_bool_t cuoo_type_is_elmtype (cuoo_type_t t)
cudyn_elmtype_t cudyn_elmtype_new (cuoo_shape_t shape, cuoo_impl_t impl, cu_offset_t size, cu_offset_t alignment)

Function Documentation

cudyn_elmtype_t cudyn_elmtype_new ( cuoo_shape_t  shape,
cuoo_impl_t  impl,
cu_offset_t  size,
cu_offset_t  alignment 

Create a unique elementary type, of which objects are size bytes, require alignment bytes alignement and FFI type ffitype.

cuoo_type_t cudyn_elmtype_type (  ) 

The type of elementary types.

cu_bool_t cuoo_type_is_elmtype ( cuoo_type_t  t  ) 

True iff t is a cudyn_elmtype_t.

Generated 2009-11-23 for culibs-0.25 using Doxygen. Maintained by Petter Urkedal.