Skip to content

Commit

Permalink
matrix transpose example (#9)
Browse files Browse the repository at this point in the history
* get index right for block and phase, but still have bugs

* try to modify transpose loop

* 4*4 matrix it works

* cleanup code and needs standard input interface

* add barrier after data init

* make index right

* add options for user

* change dataflow to async for local transpose to reduce cost

* the program works as Thomas's example for matrix transposition

* add iterations, testing sections and comments

* finalize comments, variables naming

* get index right for block and phase, but still have bugs

* try to modify transpose loop

* 4*4 matrix it works

* cleanup code and needs standard input interface

* add barrier after data init

* make index right

* add options for user

* change dataflow to async for local transpose to reduce cost

* the program works as Thomas's example for matrix transposition

* add iterations, testing sections and comments

* finalize comments, variables naming

* modify command line options
  • Loading branch information
weilewei authored and folshost committed Apr 4, 2019
1 parent 1ddb899 commit ccb9a50
Showing 1 changed file with 243 additions and 259 deletions.
Loading

0 comments on commit ccb9a50

Please sign in to comment.