README 710 B

123456789101112131415161718192021
  1. You first need to compile StarPU.jl
  2. Now, type
  3. > make
  4. > make test
  5. > gnuplot mult.plot
  6. During the test, several versions are compared:
  7. - mult.c: this is the original C+starpu code
  8. - mult_native.jl: this is the native julia way of multiplying 2 matrices. There is a call to openBLAS
  9. - mult_generatedc.jl: generates a C file, genc_matrix_mult.c. This file is compiled into a library, that is loaded and a function is executed.
  10. - mult_calllib.jl: the env variable JULIA_TASK_LIB should point to a library containing the function matrix_mult. This function is called.
  11. Examples of how to launch mult.jl are given in test rules.
  12. A CUDA version is generated too. Untested so far (no nvidia gpu on my laptop!)