Skip to content

Commit 3cdfdc8

Browse files
committed
Small documentation fixes
1 parent c399814 commit 3cdfdc8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/compyte/array.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ COMPYTE_PUBLIC int GpuArray_reshape(GpuArray *res, GpuArray *a,
347347
COMPYTE_PUBLIC void GpuArray_clear(GpuArray *a);
348348

349349
/**
350-
* Checks if to array share device memory.
350+
* Checks if two arrays may share device memory.
351351
*
352352
* \param a an array
353353
* \param b an array

src/compyte/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ typedef struct _compyte_type {
2424
*/
2525
const char *cluda_name;
2626
/**
27-
* Size of one element.
27+
* Size of one element (in bytes).
2828
*/
2929
size_t size;
3030
/**

src/gen_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def add_type(name, sz):
141141
*/
142142
const char *cluda_name;
143143
/**
144-
* Size of one element.
144+
* Size of one element (in bytes).
145145
*/
146146
size_t size;
147147
/**

0 commit comments

Comments
 (0)