TorchLean API

FloatLib.Floats.ExecFloat.Core.Operations

Uniform operation-specific capability API #

The public Add, Sub, Mul, Div, Sqrt, and Fma namespaces derive their interfaces from the single indexed Capability contract. Each namespace exposes the same planning and certification surface while retaining the operation's natural arity.

@[inline]

Clear reference operation for this capability.

Instances For
    @[inline]

    Certified kernels offered by this capability.

    Instances For
      @[inline]

      Workload and resource policy shared by planning and execution.

      Instances For
        @[inline]

        Certified implementation selected from the candidates supplied by the format.

        Instances For

          The stored selected certificate equals the planner's result.

          @[inline]

          Static estimate attached to the selected implementation.

          Instances For
            @[inline]

            Execute the selected binary kernel.

            Instances For
              theorem FloatLib.Floats.ExecFloat.Add.run_eq_spec {F : Type u} [Numerics.EncodedFormat F] [planning : Backend.PolicyFor F] [Capability F Backend.Operation.add] (left✝ right✝ : ExecFloat F) :
              run left✝ right✝ = spec left✝ right✝

              The selected binary kernel agrees with its reference operation.

              @[inline]

              Clear reference operation for this capability.

              Instances For
                @[inline]

                Certified kernels offered by this capability.

                Instances For
                  @[inline]

                  Workload and resource policy shared by planning and execution.

                  Instances For
                    @[inline]

                    Certified implementation selected from the candidates supplied by the format.

                    Instances For

                      The stored selected certificate equals the planner's result.

                      @[inline]

                      Static estimate attached to the selected implementation.

                      Instances For
                        @[inline]

                        Execute the selected binary kernel.

                        Instances For
                          theorem FloatLib.Floats.ExecFloat.Sub.run_eq_spec {F : Type u} [Numerics.EncodedFormat F] [planning : Backend.PolicyFor F] [Capability F Backend.Operation.sub] (left✝ right✝ : ExecFloat F) :
                          run left✝ right✝ = spec left✝ right✝

                          The selected binary kernel agrees with its reference operation.

                          @[inline]

                          Clear reference operation for this capability.

                          Instances For
                            @[inline]

                            Certified kernels offered by this capability.

                            Instances For
                              @[inline]

                              Workload and resource policy shared by planning and execution.

                              Instances For
                                @[inline]

                                Certified implementation selected from the candidates supplied by the format.

                                Instances For

                                  The stored selected certificate equals the planner's result.

                                  @[inline]

                                  Static estimate attached to the selected implementation.

                                  Instances For
                                    @[inline]

                                    Execute the selected binary kernel.

                                    Instances For
                                      theorem FloatLib.Floats.ExecFloat.Mul.run_eq_spec {F : Type u} [Numerics.EncodedFormat F] [planning : Backend.PolicyFor F] [Capability F Backend.Operation.mul] (left✝ right✝ : ExecFloat F) :
                                      run left✝ right✝ = spec left✝ right✝

                                      The selected binary kernel agrees with its reference operation.

                                      @[inline]

                                      Clear reference operation for this capability.

                                      Instances For
                                        @[inline]

                                        Certified kernels offered by this capability.

                                        Instances For
                                          @[inline]

                                          Workload and resource policy shared by planning and execution.

                                          Instances For
                                            @[inline]

                                            Certified implementation selected from the candidates supplied by the format.

                                            Instances For

                                              The stored selected certificate equals the planner's result.

                                              @[inline]

                                              Static estimate attached to the selected implementation.

                                              Instances For
                                                @[inline]

                                                Execute the selected binary kernel.

                                                Instances For
                                                  theorem FloatLib.Floats.ExecFloat.Div.run_eq_spec {F : Type u} [Numerics.EncodedFormat F] [planning : Backend.PolicyFor F] [Capability F Backend.Operation.div] (left✝ right✝ : ExecFloat F) :
                                                  run left✝ right✝ = spec left✝ right✝

                                                  The selected binary kernel agrees with its reference operation.

                                                  @[inline]

                                                  Clear reference operation for this capability.

                                                  Instances For
                                                    @[inline]

                                                    Certified kernels offered by this capability.

                                                    Instances For
                                                      @[inline]

                                                      Workload and resource policy shared by planning and execution.

                                                      Instances For
                                                        @[inline]

                                                        Certified implementation selected from the candidates supplied by the format.

                                                        Instances For
                                                          @[inline]

                                                          Static estimate attached to the selected implementation.

                                                          Instances For
                                                            @[inline]

                                                            Execute the selected unary kernel.

                                                            Instances For

                                                              The selected unary kernel agrees with its reference operation.

                                                              @[inline]

                                                              Clear reference operation for this capability.

                                                              Instances For
                                                                @[inline]

                                                                Certified kernels offered by this capability.

                                                                Instances For
                                                                  @[inline]

                                                                  Workload and resource policy shared by planning and execution.

                                                                  Instances For
                                                                    @[inline]

                                                                    Certified implementation selected from the candidates supplied by the format.

                                                                    Instances For

                                                                      The stored selected certificate equals the planner's result.

                                                                      @[inline]

                                                                      Static estimate attached to the selected implementation.

                                                                      Instances For
                                                                        @[inline]

                                                                        Execute the selected ternary kernel.

                                                                        Instances For
                                                                          theorem FloatLib.Floats.ExecFloat.Fma.run_eq_spec {F : Type u} [Numerics.EncodedFormat F] [planning : Backend.PolicyFor F] [Capability F Backend.Operation.fma] (left✝ right✝ addend✝ : ExecFloat F) :
                                                                          run left✝ right✝ addend✝ = spec left✝ right✝ addend✝

                                                                          The selected ternary kernel agrees with its reference operation.