Samuel Thibault 75e93fa729 Document that one should check that the kernel did properly start 4 роки тому
..
res a2565f7c3c Reorganize julia directory and add README. 5 роки тому
Makefile.old 66ff633d82 Merge branch 'master' into julia-autotools 5 роки тому
README a2565f7c3c Reorganize julia directory and add README. 5 роки тому
cpu_mult.c 8e4dfa48fa julia: Simplify codelet declarations. 5 роки тому
gpu_mult.cu 75e93fa729 Document that one should check that the kernel did properly start 4 роки тому
mult.c e784847afc julia/examples/mult/mult.c: lower default value 5 роки тому
mult.jl b7f4e19047 julia: Implement starpu_task_insert(). 5 роки тому
mult.plot a2565f7c3c Reorganize julia directory and add README. 5 роки тому
mult_native.jl 509b4911d9 julia: update copyright 5 роки тому
mult_starpu.sh ca03afaed3 julia: update copyright 5 роки тому
perf.sh ca03afaed3 julia: update copyright 5 роки тому

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!)