org.bytedeco.cuda.nvjpeg.tPinnedMalloc Maven / Gradle / Ivy
The newest version!
// Targeted by JavaCPP version 1.5.11: DO NOT EDIT THIS FILE
package org.bytedeco.cuda.nvjpeg;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.javacpp.presets.javacpp.*;
import org.bytedeco.cuda.cudart.*;
import static org.bytedeco.cuda.global.cudart.*;
import static org.bytedeco.cuda.global.nvjpeg.*;
// Prototype for pinned memory allocation, modelled after cudaHostAlloc()
@Properties(inherit = org.bytedeco.cuda.presets.nvjpeg.class)
public class tPinnedMalloc extends FunctionPointer {
static { Loader.load(); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public tPinnedMalloc(Pointer p) { super(p); }
protected tPinnedMalloc() { allocate(); }
private native void allocate();
public native int call(@Cast("void**") PointerPointer arg0, @Cast("size_t") long arg1, @Cast("unsigned int") int flags);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy