Nathalie Furmento eec580332a julia: small fixes před 5 roky
..
res a2565f7c3c Reorganize julia directory and add README. před 5 roky
Makefile.old 66ff633d82 Merge branch 'master' into julia-autotools před 5 roky
README a2565f7c3c Reorganize julia directory and add README. před 5 roky
cpu_mult.c 214ee6f245 julia: more integration with autotools před 5 roky
gpu_mult.cu a2565f7c3c Reorganize julia directory and add README. před 5 roky
mult.c 214ee6f245 julia: more integration with autotools před 5 roky
mult.jl 29a1ddadee julia: Fix mult example. před 5 roky
mult.plot a2565f7c3c Reorganize julia directory and add README. před 5 roky
mult_native.jl ac0faff53f julia/examples/mult: stride is now a program parameter před 5 roky
mult_starpu.sh eec580332a julia: small fixes před 5 roky
perf.sh 214ee6f245 julia: more integration with autotools před 5 roky

README

You first need to compile StarPU.jl
Now, type
> make
> make test
> gnuplot mult.plot

During the test, several versions are compared:
- mult.c: this is the original C+starpu code
- mult_native.jl: this is the native julia way of multiplying 2 matrices. There is a call to openBLAS
- 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.
- mult_calllib.jl: the env variable JULIA_TASK_LIB should point to a library containing the function matrix_mult. This function is called.

Examples of how to launch mult.jl are given in test rules.

A CUDA version is generated too. Untested so far (no nvidia gpu on my laptop!)