gpuarray
0.7
Goal
Installation
pygpu package
C library reference
Group list
File list
File abi_version.h
File array.h
File blas.h
File buffer.h
File buffer_blas.h
File buffer_collectives.h
File cache.h
File collectives.h
File config.h
File dyn_load.h
File elemwise.h
File error.h
File ext_cuda.h
File extension.h
File integerfactoring.h
File kernel.h
File libclblas.h
File libclblast.h
File libcublas.h
File libcuda.h
File libnccl.h
File libnvrtc.h
File libopencl.h
File private.h
File private_cuda.h
File private_opencl.h
File strb.h
File types.h
File util.h
File xxhash.h
gpuarray
»
C library reference
»
File list
»
File strb.h
View page source
File strb.h
¶
Defines
STRB_STATIC_INIT
¶
strb_new
(
)
¶
strb_append0
(
s
)
¶
Functions
strb
*
strb_alloc
(
size_t
s
)
¶
void
strb_free
(
strb
*
sb
)
¶
static
inline
void
strb_reset
(
strb
*
sb
)
¶
static
inline
int
strb_seterror
(
strb
*
sb
)
¶
static
inline
int
strb_error
(
strb
*
sb
)
¶
static
inline
void
strb_clear
(
strb
*
sb
)
¶
int
strb_grow
(
strb
*
sb
,
size_t
s
)
¶
static
inline
int
strb_ensure
(
strb
*
sb
,
size_t
s
)
¶
static
inline
void
strb_appendc
(
strb
*
sb
,
char
c
)
¶
static
inline
void
strb_appendn
(
strb
*
sb
,
const
char
*
s
,
size_t
n
)
¶
static
inline
void
strb_appends
(
strb
*
sb
,
const
char
*
s
)
¶
static
inline
void
strb_appendb
(
strb
*
sb
,
const
strb
*
sb2
)
¶
void
strb_appendf
(
strb
*
sb
,
const
char
*
f
,
...
)
¶
void
strb_read
(
strb
*
sb
,
int
fd
,
size_t
sz
)
¶
int
strb_write
(
int
fd
,
strb
*
sb
)
¶
static
inline
char
*
strb_cstr
(
strb
*
sb
)
¶
struct
strb
¶
#include <strb.h>
Public Members
char
*
s
¶
size_t
l
¶
size_t
a
¶