Package org.jocl

Interface MemObjectDestructorCallbackFunction


public interface MemObjectDestructorCallbackFunction
Emulation of a function pointer for functions that may be passed to the clSetMemObjectDestructorCallback method.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    function(cl_mem memobj, Object user_data)
    The function that will be called
  • Method Details

    • function

      void function(cl_mem memobj, Object user_data)
      The function that will be called
      Parameters:
      memobj - The memory object
      user_data - The user data