Skip to content

Commit

Permalink
add array extension notes
Browse files Browse the repository at this point in the history
  • Loading branch information
csabahruska committed Aug 23, 2012
1 parent 9678240 commit 851fa30
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions lambdacube-core/docs/array-extension
@@ -0,0 +1,35 @@
expression stages/frequencies:
Obj - object batch
V - vertex
G - geometry
F - fragment

supported types on GPU side (V,G,F):
scalar: Float, Int, Word, Bool
vector: Vector (2-4 dim) of scalars
matrix: matrix (2-4 dim) x (2-4 dim) of Floats
sampler
array of {scalar,vector,matrix,sampler} -- only one-dimensional arrays are supported on GPU side.
tuples of {scalar,vector,matrix,sampler,array}

supported types on CPU side (Obj):
all GPU types
multidimensional arrays

framebuffer
image
primitive buffer / vertex stream

array operations:
generate
replicate
map
zipWith
fold
scan
-- question: do we allow iterions only or indexing also?
is the array ordered?
index ??
permute ??
backpermute ??

0 comments on commit 851fa30

Please sign in to comment.