Interface FunctionProviderLocal

  • All Superinterfaces:
    FunctionProvider

    public interface FunctionProviderLocal
    extends FunctionProvider
    A platform/device/context specific provider of native function addresses.
    • Method Detail

      • getFunctionAddress

        long getFunctionAddress​(long handle,
                                java.nio.ByteBuffer functionName)
        Returns the function address of the specified function for the specified handle. If the function is not supported, returns 0L.
        Parameters:
        handle - the handle to a platform/device/context
        functionName - the encoded name of the function to query
        Returns:
        the function address or 0L if the function is not supported