Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/gen/ir/tree-ops.spec
ViewVC logotype

Diff of /branches/vis15/src/compiler/gen/ir/tree-ops.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4050, Sun Jun 26 21:48:29 2016 UTC revision 4051, Sun Jun 26 22:33:17 2016 UTC
# Line 54  Line 54 
54  VMul   : int * int : 1 : 2 : vector element-wise multiplication  VMul   : int * int : 1 : 2 : vector element-wise multiplication
55  VNeg   : int * int : 1 : 2 : vector negation  VNeg   : int * int : 1 : 2 : vector negation
56  VSum   : int * int : 1 : 1 : sum elements of a vector  VSum   : int * int : 1 : 1 : sum elements of a vector
57  # VIndex<d,w,i> -- project i'th element of vector with type VecTy(d,w)  # VIndex<d,w,i> -- project i'th element (0-based) of vector with type VecTy(d,w)
58  VIndex  : int * int * int : 1 : 1 : project  VIndex  : int * int * int : 1 : 1 : project
59  #  #
60  # VClamp<d>(lo, hi, x) -- clamps x to the range lo..hi  # VClamp<d>(lo, hi, x) -- clamps x to the range lo..hi
# Line 75  Line 75 
75  ### tensor operations  ### tensor operations
76  #  #
77  # TensorIndex<ty,idxs>(T) returns the scalar T[idxs], where T has type ty  # TensorIndex<ty,idxs>(T) returns the scalar T[idxs], where T has type ty
78    # and the indices are 0-based.
79  TensorIndex : ty * shape : 1 : 1 :  TensorIndex : ty * shape : 1 : 1 :
80  #  #
81  # ProjectLast<ty,idxs>(T) returns the vector T[idxs,:]  # ProjectLast<ty,idxs>(T) returns the vector T[idxs,:], where the indices are 0-based
82  ProjectLast : ty * shape : 1 : 1 :  ProjectLast : ty * shape : 1 : 1 :
83  #  #
84  # Copy the a tensor reference to a new tensor value  # Copy the a tensor reference to a new tensor value

Legend:
Removed from v.4050  
changed lines
  Added in v.4051

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0