Commit b19669b1 authored by paugier's avatar paugier

Work on second week presentations

parent 6b5e018e
This diff is collapsed.
......@@ -15,11 +15,11 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"We consider here wrapping two static languages: C and Fortran.\n",
"We mainly consider here wrapping codes in C and Fortran.\n",
"\n",
"We classically wrap already existing code to access them via Python. \n",
"We classically wrap already existing codes to access them via Python. \n",
"\n",
"Depending on the language to wrap the tool to use are different. \n"
"Depending on the language to wrap, the tools are different. \n"
]
},
{
......
......@@ -785,6 +785,23 @@
"\n",
"https://pytorch.org/"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"# Conclusions\n",
"\n",
"- Many good accelerators and compilers for Python-Numpy code\n",
"\n",
"- Very good results for \"standard types\" (arrays of numbers on CPU and GPU)\n",
"\n",
"- Limitation: high performance with user-defined numerical types"
]
}
],
"metadata": {
......@@ -803,7 +820,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
"version": "3.7.2"
}
},
"nbformat": 4,
......
......@@ -79,7 +79,9 @@
"\n",
" - *Terrible* 🐌 for CPU bounded *if the Python interpreter is used a lot* !\n",
"\n",
" - *No problem* for IO bounded !"
" - *No problem* for IO bounded !\n",
" \n",
" - *No problem* for extensions when the interpreter is not used !"
]
},
{
......@@ -113,8 +115,9 @@
}
},
"source": [
"## 2 other packages for parallel computing with Python\n",
"## Other packages for parallel computing with Python\n",
"\n",
"- IPython\n",
"- dask\n",
"- joblib"
]
......@@ -161,7 +164,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
"version": "3.7.2"
}
},
"nbformat": 4,
......
......@@ -3,4 +3,4 @@ all:
python3 -m numpy.f2py -c "dtw_cort.f90" -m distances_fort
clean:
rm -f distances_fort.*.so
rm -f distances_fort.*.so *.mod
......@@ -14,7 +14,7 @@ matplotlib
pandas
h5py
#vizu
# pyviz # (not available in conda!)
# pyviz # (not available in conda-forge)
# wrapper
cffi
# accelerators
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment