Cargando…

Multiplatform Programming with Python

<!--HTML-->In this course the students can learn how to write platform agnostic code using Python (and some C). Some knowledge (~1 year experience) of these two languages is recommended. The lecture will focus on how Python can easily be combined with C for CPU and GPU programming, by exploit...

Descripción completa

Detalles Bibliográficos
Autor principal: Kicsiny, Peter
Lenguaje:eng
Publicado: 2023
Materias:
Acceso en línea:http://cds.cern.ch/record/2852039
_version_ 1780977136224436224
author Kicsiny, Peter
author_facet Kicsiny, Peter
author_sort Kicsiny, Peter
collection CERN
description <!--HTML-->In this course the students can learn how to write platform agnostic code using Python (and some C). Some knowledge (~1 year experience) of these two languages is recommended. The lecture will focus on how Python can easily be combined with C for CPU and GPU programming, by exploiting the advantages of both languages. The goal is to introduce 3 Python libraries that are used at CERN (e.g. in modern multiparticle simulation frameworks): CFFI, CuPy and PyOpenCL. CFFI is a library for Python-C interfacing and CPU kernel execution. CuPy and PyOpenCL are libraries for kernel execution compatible with GPUs. Additionally, there will be a short review of heterogeneous programming and a comparison of the CUDA and OpenCL programming models. In a subsequent tutorial session the students will be able to play around with these Python libraries.
id cern-2852039
institution Organización Europea para la Investigación Nuclear
language eng
publishDate 2023
record_format invenio
spelling cern-28520392023-03-09T20:01:19Zhttp://cds.cern.ch/record/2852039engKicsiny, PeterMultiplatform Programming with PythonInverted CERN School of Computing 2023Inverted CSC<!--HTML-->In this course the students can learn how to write platform agnostic code using Python (and some C). Some knowledge (~1 year experience) of these two languages is recommended. The lecture will focus on how Python can easily be combined with C for CPU and GPU programming, by exploiting the advantages of both languages. The goal is to introduce 3 Python libraries that are used at CERN (e.g. in modern multiparticle simulation frameworks): CFFI, CuPy and PyOpenCL. CFFI is a library for Python-C interfacing and CPU kernel execution. CuPy and PyOpenCL are libraries for kernel execution compatible with GPUs. Additionally, there will be a short review of heterogeneous programming and a comparison of the CUDA and OpenCL programming models. In a subsequent tutorial session the students will be able to play around with these Python libraries.oai:cds.cern.ch:28520392023
spellingShingle Inverted CSC
Kicsiny, Peter
Multiplatform Programming with Python
title Multiplatform Programming with Python
title_full Multiplatform Programming with Python
title_fullStr Multiplatform Programming with Python
title_full_unstemmed Multiplatform Programming with Python
title_short Multiplatform Programming with Python
title_sort multiplatform programming with python
topic Inverted CSC
url http://cds.cern.ch/record/2852039
work_keys_str_mv AT kicsinypeter multiplatformprogrammingwithpython
AT kicsinypeter invertedcernschoolofcomputing2023