arithmetic/records/columnar-tests.lisp
(name-and-options &body lane-descriptions)Define a concrete synchronized structure-of-arrays buffer. Each lane is (NAME INITIAL-ELEMENT :TYPE TYPE [:CLEAR-ON-REMOVE T]). Optional :QUANTITIES on NAME-AND-OPTIONS groups named physical lanes into fixed quantity projections. The generated MAKE-, -PUSH, -POP, and -RESET functions operate on raw specialized…
Logical disjunction of tests and raw truth values.
(domain)Return the exact number of sites in finite DOMAIN. This deliberately says nothing about coordinate or offset representation. Those mappings belong to concrete domain protocols and are added only when a client needs to traverse them.
(name-and-options &body lane-descriptions)Define fixed columnar storage whose exact extent comes from one DOMAIN. Each lane has the same syntax as DEFINE-COLUMNAR-BUFFER. The generated MAKE-NAME constructor takes DOMAIN first, asks DOMAIN-CARDINALITY for its exact extent, checks the row declaration once, and allocates one specialized array per lane. The…
Sample a two-dimensional texture through a sampler at a UV coordinate.
(&key representation-type quantity-specification quantity-layout source-form)(options &key (default-tensor-order 0))Parse one source declaration plist into a quantity specification. Return NIL when OPTIONS contains no quantity attributes. This is the common source seam used by arithmetic parameters, shader interfaces, and semantic storage declarations; callers retain ownership of their source-specific error conditions and…
Test whether two compatible scalars are equal.
Test whether one compatible scalar is at least another.
Logical negation of one test or raw truth value.
(row lane-name)((bindings buffer buffer-type) &body body)Borrow BUFFER-TYPE's active extent, row declaration, and raw lane arrays. BINDINGS is (LENGTH ROW-DECLARATION (ARRAY LANE-NAME) ...). The buffer is evaluated once, and every array receives its precise specialized array type. This is the checked aggregate boundary for closed scalar or SIMD kernels; the kernel…
((bindings buffer buffer-type &optional result) &body body)How the children of a list are arranged.
(layout positions)((bindings buffer index buffer-type) &body body)((bindings materialization materialization-type) &body body)Borrow a fixed materialization's domain, extent, row, and raw lane arrays. BINDINGS is (DOMAIN EXTENT ROW-DECLARATION (ARRAY LANE-NAME) ...). The materialization is evaluated once and each array receives its precise specialized array type.