All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bytedeco.cuda.cudart.cudaGraphExecUpdateResultInfo Maven / Gradle / Ivy

The newest version!
// Targeted by JavaCPP version 1.5.11: DO NOT EDIT THIS FILE

package org.bytedeco.cuda.cudart;

import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;

import static org.bytedeco.javacpp.presets.javacpp.*;

import static org.bytedeco.cuda.global.cudart.*;


/**
 * Result information returned by cudaGraphExecUpdate
 */
@Properties(inherit = org.bytedeco.cuda.presets.cudart.class)
public class cudaGraphExecUpdateResultInfo extends Pointer {
    static { Loader.load(); }
    /** Default native constructor. */
    public cudaGraphExecUpdateResultInfo() { super((Pointer)null); allocate(); }
    /** Native array allocator. Access with {@link Pointer#position(long)}. */
    public cudaGraphExecUpdateResultInfo(long size) { super((Pointer)null); allocateArray(size); }
    /** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
    public cudaGraphExecUpdateResultInfo(Pointer p) { super(p); }
    private native void allocate();
    private native void allocateArray(long size);
    @Override public cudaGraphExecUpdateResultInfo position(long position) {
        return (cudaGraphExecUpdateResultInfo)super.position(position);
    }
    @Override public cudaGraphExecUpdateResultInfo getPointer(long i) {
        return new cudaGraphExecUpdateResultInfo((Pointer)this).offsetAddress(i);
    }

    /**
     * Gives more specific detail when a cuda graph update fails. 
     */
    public native @Cast("cudaGraphExecUpdateResult") int result(); public native cudaGraphExecUpdateResultInfo result(int setter);

    /**
     * The "to node" of the error edge when the topologies do not match.
     * The error node when the error is associated with a specific node.
     * NULL when the error is generic.
     */
    public native CUgraphNode_st errorNode(); public native cudaGraphExecUpdateResultInfo errorNode(CUgraphNode_st setter);

    /**
     * The from node of error edge when the topologies do not match. Otherwise NULL.
     */
    public native CUgraphNode_st errorFromNode(); public native cudaGraphExecUpdateResultInfo errorFromNode(CUgraphNode_st setter);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy