<commit_before>! (c)2010 <NAME> bsd license
USING: alien alien.c-types alien.libraries alien.syntax
classes.struct combinators system ;
IN: cuda.ffi

<<
"cuda" {
    { [ os windows? ] [ "nvcuda.dll" stdcall ] }
    { [ os macosx? ] [ "/usr/local/cuda/lib/libcuda.dylib" cdecl ] }
    { [ os unix? ] [ "libcuda.so" cdecl ] }
} cond add-library
>>

TYPEDEF: uint CUdeviceptr
TYPEDEF: int CUdevice
TYPEDEF: void* CUcontext
TYPEDEF: void* CUmodule
TYPEDEF: void* CUfunction
TYPEDEF: void* CUarray
TYPEDEF: void* CUtexref
TYPEDEF: void* CUevent
TYPEDEF: void* CUstream
TYPEDEF: void* CUgraphicsResource

STRUCT: CUuuid<commit_msg>missed LIBRARY: cuda in cuda.ffi<commit_after>! (c)2010 <NAME> bsd license
USING: alien alien.c-types alien.libraries alien.syntax
classes.struct combinators system ;
IN: cuda.ffi

<<
"cuda" {
    { [ os windows? ] [ "nvcuda.dll" stdcall ] }
    { [ os macosx? ] [ "/usr/local/cuda/lib/libcuda.dylib" cdecl ] }
    { [ os unix? ] [ "libcuda.so" cdecl ] }
} cond add-library
>>

LIBRARY: cuda

TYPEDEF: uint CUdeviceptr
TYPEDEF: int CUdevice
TYPEDEF: void* CUcontext
TYPEDEF: void* CUmodule
TYPEDEF: void* CUfunction
TYPEDEF: void* CUarray
TYPEDEF: void* CUtexref
TYPEDEF: void* CUevent
TYPEDEF: void* CUstream
TYPEDEF: void* CUgraphicsResource

STRUCT: CUuuid
{'fraction_non_alphanumeric': 0.12694704049844235, 'fraction_numerical': 0.006230529595015576, 'mean_word_length': 4.421940928270042, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2100435', 'n_tokens_mistral': 519, 'n_tokens_neox': 522, 'n_words': 129}