• Generate a bunch types (vec, mat, sized/unsized array) for testing.

    Parameters

    • __namedParameters: {
          addressSpace: AddressSpace;
          baseType: ScalarType;
          containerType: ContainerType;
          isAtomic?: boolean;
      }
      • addressSpace: AddressSpace
      • baseType: ScalarType

        Base scalar type (i32/u32/f16/f32/bool).

      • containerType: ContainerType

        Container type (scalar/vector/matrix/array)

      • Optional isAtomic?: boolean

        Whether to wrap the baseType in atomic<>.

    Returns Generator<{
        _kTypeInfo: {
            accessSuffixes?: string[];
            arrayLength: number;
            elementBaseType: string;
            innerLength?: number;
            layout: undefined | AlignmentAndSize;
            supportsAtomics: boolean;
        };
        type: string;
    }, void>

Generated using TypeDoc