Download Read the User`s Guide - BeBOP (Berkeley Benchmarking and
Transcript
LIST OF TABLES 3 References 32 A Valid input matrix representations 34 B Bindings Reference B.1 Matrix object creation and modification . . . B.2 Vector object creation . . . . . . . . . . . . . . B.3 Kernels . . . . . . . . . . . . . . . . . . . . . . B.4 Tuning . . . . . . . . . . . . . . . . . . . . . . B.5 Permutations . . . . . . . . . . . . . . . . . . B.6 Saving and restoring tuning transformations B.7 Error handling . . . . . . . . . . . . . . . . . . 35 35 45 47 52 56 58 59 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C Mixing Types 60 D OSKI Library Integration Notes D.1 Sparse BLAS . . . . . . . . . D.2 PETSc . . . . . . . . . . . . . D.3 MATLAB*P . . . . . . . . . D.4 Kokkos (Trilinos) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 61 63 64 64 . . . . . . t) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 19 20 20 21 21 21 23 24 25 25 26 26 28 30 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 11 13 15 27 28 29 . . . . List of Tables 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Creating and modifying matrix and vector objects . . . . . . . . . . Copy modes (type oski copymode t) . . . . . . . . . . . . . . . . . . Input matrix properties (type oski inmatprop t) . . . . . . . . . . . Dense multivector (dense matrix) storage modes (type oski storage Sparse kernels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Matrix transpose options (type oski matop t) . . . . . . . . . . . . . Matrix-transpose-times-matrix options (type oski ataop t) . . . . . Tuning primitives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Available structural hints (type oski tunehint t) . . . . . . . . . . . . Symbolic calling frequency constants (type int) . . . . . . . . . . . . Symbolic vector views for workload hints (type oski vecview t) . . Tuning status codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . Extracting and applying permuted forms . . . . . . . . . . . . . . . Saving and restoring tuning transformations . . . . . . . . . . . . . Error handling routines . . . . . . . . . . . . . . . . . . . . . . . . . . Listings 1 2 3 4 5 6 7 Using OSKI: A first example . . . . . . . . Makefile for the first example . . . . . . An example of basic explicit tuning . . . . An example of implicit tuning . . . . . . . An example of extracting permutations . An example of saving transformations . . An example of applying transformations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .