Skip to content

Commit

Permalink
add additional types (unused)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHastings committed Oct 25, 2024
1 parent 5b466fa commit 527c081
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cpp/include/cugraph_c/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ typedef enum bool_ { FALSE = 0, TRUE = 1 } bool_t;
typedef int8_t byte_t;

typedef enum data_type_id_ {
INT32 = 0,
INT8 = 0,
INT16,
INT32,
INT64,
UINT8,
UINT16,
UINT32,
UINT64,
FLOAT32,
FLOAT64,
SIZE_T,
Expand Down
7 changes: 7 additions & 0 deletions python/pylibcugraph/pylibcugraph/_cugraph_c/types.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,17 @@ cdef extern from "cugraph_c/types.h":
TRUE

ctypedef enum cugraph_data_type_id_t:
INT8
INT16
INT32
INT64
UINT8
UINT16
UINT32
UINT64
FLOAT32
FLOAT64
SIZE_T
BOOL

ctypedef int8_t byte_t

0 comments on commit 527c081

Please sign in to comment.