Path: blob/master/runtime/cuda/java/com_ibm_cuda_CudaBuffer.h
6000 views
/* DO NOT EDIT THIS FILE - it is machine generated */1#include <jni.h>2/* Header for class com_ibm_cuda_CudaBuffer */34#ifndef _Included_com_ibm_cuda_CudaBuffer5#define _Included_com_ibm_cuda_CudaBuffer6#ifdef __cplusplus7extern "C" {8#endif9/*10* Class: com_ibm_cuda_CudaBuffer11* Method: allocate12* Signature: (IJ)J13*/14jlong JNICALL Java_com_ibm_cuda_CudaBuffer_allocate15(JNIEnv *, jclass, jint, jlong);1617/*18* Class: com_ibm_cuda_CudaBuffer19* Method: allocateDirectBuffer20* Signature: (J)Ljava/nio/ByteBuffer;21*/22jobject JNICALL Java_com_ibm_cuda_CudaBuffer_allocateDirectBuffer23(JNIEnv *, jclass, jlong);2425/*26* Class: com_ibm_cuda_CudaBuffer27* Method: copyFromDevice28* Signature: (IJIJJ)V29*/30void JNICALL Java_com_ibm_cuda_CudaBuffer_copyFromDevice31(JNIEnv *, jclass, jint, jlong, jint, jlong, jlong);3233/*34* Class: com_ibm_cuda_CudaBuffer35* Method: copyFromHostByte36* Signature: (IJ[BII)V37*/38void JNICALL Java_com_ibm_cuda_CudaBuffer_copyFromHostByte39(JNIEnv *, jclass, jint, jlong, jbyteArray, jint, jint);4041/*42* Class: com_ibm_cuda_CudaBuffer43* Method: copyFromHostChar44* Signature: (IJ[CII)V45*/46void JNICALL Java_com_ibm_cuda_CudaBuffer_copyFromHostChar47(JNIEnv *, jclass, jint, jlong, jcharArray, jint, jint);4849/*50* Class: com_ibm_cuda_CudaBuffer51* Method: copyFromHostDirect52* Signature: (IJLjava/nio/Buffer;JJ)V53*/54void JNICALL Java_com_ibm_cuda_CudaBuffer_copyFromHostDirect55(JNIEnv *, jclass, jint, jlong, jobject, jlong, jlong);5657/*58* Class: com_ibm_cuda_CudaBuffer59* Method: copyFromHostDouble60* Signature: (IJ[DII)V61*/62void JNICALL Java_com_ibm_cuda_CudaBuffer_copyFromHostDouble63(JNIEnv *, jclass, jint, jlong, jdoubleArray, jint, jint);6465/*66* Class: com_ibm_cuda_CudaBuffer67* Method: copyFromHostFloat68* Signature: (IJ[FII)V69*/70void JNICALL Java_com_ibm_cuda_CudaBuffer_copyFromHostFloat71(JNIEnv *, jclass, jint, jlong, jfloatArray, jint, jint);7273/*74* Class: com_ibm_cuda_CudaBuffer75* Method: copyFromHostInt76* Signature: (IJ[III)V77*/78void JNICALL Java_com_ibm_cuda_CudaBuffer_copyFromHostInt79(JNIEnv *, jclass, jint, jlong, jintArray, jint, jint);8081/*82* Class: com_ibm_cuda_CudaBuffer83* Method: copyFromHostLong84* Signature: (IJ[JII)V85*/86void JNICALL Java_com_ibm_cuda_CudaBuffer_copyFromHostLong87(JNIEnv *, jclass, jint, jlong, jlongArray, jint, jint);8889/*90* Class: com_ibm_cuda_CudaBuffer91* Method: copyFromHostShort92* Signature: (IJ[SII)V93*/94void JNICALL Java_com_ibm_cuda_CudaBuffer_copyFromHostShort95(JNIEnv *, jclass, jint, jlong, jshortArray, jint, jint);9697/*98* Class: com_ibm_cuda_CudaBuffer99* Method: copyToHostByte100* Signature: (IJ[BII)V101*/102void JNICALL Java_com_ibm_cuda_CudaBuffer_copyToHostByte103(JNIEnv *, jclass, jint, jlong, jbyteArray, jint, jint);104105/*106* Class: com_ibm_cuda_CudaBuffer107* Method: copyToHostChar108* Signature: (IJ[CII)V109*/110void JNICALL Java_com_ibm_cuda_CudaBuffer_copyToHostChar111(JNIEnv *, jclass, jint, jlong, jcharArray, jint, jint);112113/*114* Class: com_ibm_cuda_CudaBuffer115* Method: copyToHostDirect116* Signature: (IJLjava/nio/Buffer;JJ)V117*/118void JNICALL Java_com_ibm_cuda_CudaBuffer_copyToHostDirect119(JNIEnv *, jclass, jint, jlong, jobject, jlong, jlong);120121/*122* Class: com_ibm_cuda_CudaBuffer123* Method: copyToHostDouble124* Signature: (IJ[DII)V125*/126void JNICALL Java_com_ibm_cuda_CudaBuffer_copyToHostDouble127(JNIEnv *, jclass, jint, jlong, jdoubleArray, jint, jint);128129/*130* Class: com_ibm_cuda_CudaBuffer131* Method: copyToHostFloat132* Signature: (IJ[FII)V133*/134void JNICALL Java_com_ibm_cuda_CudaBuffer_copyToHostFloat135(JNIEnv *, jclass, jint, jlong, jfloatArray, jint, jint);136137/*138* Class: com_ibm_cuda_CudaBuffer139* Method: copyToHostInt140* Signature: (IJ[III)V141*/142void JNICALL Java_com_ibm_cuda_CudaBuffer_copyToHostInt143(JNIEnv *, jclass, jint, jlong, jintArray, jint, jint);144145/*146* Class: com_ibm_cuda_CudaBuffer147* Method: copyToHostLong148* Signature: (IJ[JII)V149*/150void JNICALL Java_com_ibm_cuda_CudaBuffer_copyToHostLong151(JNIEnv *, jclass, jint, jlong, jlongArray, jint, jint);152153/*154* Class: com_ibm_cuda_CudaBuffer155* Method: copyToHostShort156* Signature: (IJ[SII)V157*/158void JNICALL Java_com_ibm_cuda_CudaBuffer_copyToHostShort159(JNIEnv *, jclass, jint, jlong, jshortArray, jint, jint);160161/*162* Class: com_ibm_cuda_CudaBuffer163* Method: fill164* Signature: (IJIIJ)V165*/166void JNICALL Java_com_ibm_cuda_CudaBuffer_fill167(JNIEnv *, jclass, jint, jlong, jint, jint, jlong);168169/*170* Class: com_ibm_cuda_CudaBuffer171* Method: freeDirectBuffer172* Signature: (Ljava/nio/Buffer;)V173*/174void JNICALL Java_com_ibm_cuda_CudaBuffer_freeDirectBuffer175(JNIEnv *, jclass, jobject);176177/*178* Class: com_ibm_cuda_CudaBuffer179* Method: release180* Signature: (IJ)V181*/182void JNICALL Java_com_ibm_cuda_CudaBuffer_release183(JNIEnv *, jclass, jint, jlong);184185#ifdef __cplusplus186}187#endif188#endif189190191