Package com.jogamp.opencl.llb.impl

Examples of com.jogamp.opencl.llb.impl.CLMemObjectDestructorCallback


    /**
     * Registers a callback which will be called by the OpenCL implementation
     * when the memory object is released.
     */
    public void registerDestructorCallback(final CLMemObjectListener listener) {
        binding.clSetMemObjectDestructorCallback(ID, new CLMemObjectDestructorCallback() {
            @Override
            public void memoryDeallocated(long memObjID) {
                listener.memoryDeallocated(CLMemory.this);
            }
        });
View Full Code Here

TOP

Related Classes of com.jogamp.opencl.llb.impl.CLMemObjectDestructorCallback

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.