Class MPSGraphExecutionDescriptor

  • All Implemented Interfaces:
    NSObject

    public class MPSGraphExecutionDescriptor
    extends MPSGraphObject
    This is a class that consists of all the levers to synchronize and schedule graph execution. API-Since: 14.0
    • Constructor Detail

      • MPSGraphExecutionDescriptor

        protected MPSGraphExecutionDescriptor​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • setWaitUntilCompleted

        public void setWaitUntilCompleted​(boolean value)
        Flag that makes the execution call blocking till the entire compilation is complete, defaults to NO.
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • waitUntilCompleted

        public boolean waitUntilCompleted()
        Flag that makes the execution call blocking till the entire compilation is complete, defaults to NO.
      • compilationDescriptor

        @Nullable
        public @Nullable MPSGraphCompilationDescriptor compilationDescriptor()
        compilationDescriptor for the graph, default value is nil. API-Since: 15.4
      • setCompilationDescriptor

        public void setCompilationDescriptor​(@Nullable
                                             @Nullable MPSGraphCompilationDescriptor value)
        compilationDescriptor for the graph, default value is nil. API-Since: 15.4
      • signalEventAtExecutionEventValue

        public void signalEventAtExecutionEventValue​(@NotNull
                                                     @NotNull MTLSharedEvent event,
                                                     long executionStage,
                                                     long value)
        Executable signals these shared events at execution stage and immediately proceeds. - Parameters: - event: shared event to signal. - executionStage: execution stage to signal event at. - value: value for shared event to wait on. API-Since: 16.0
      • waitForEventValue

        public void waitForEventValue​(@NotNull
                                      @NotNull MTLSharedEvent event,
                                      long value)
        Executable waits on these shared events before scheduling execution on the HW, this does not include encoding which can still continue. - Parameters: - event: shared event graph waits on. - value: value of shared event graph waits on. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.