Русские видео

Сейчас в тренде

Иностранные видео


Скачать с ютуб Writing elegant host-side CUDA code in Modern C++ в хорошем качестве

Writing elegant host-side CUDA code in Modern C++ 3 года назад


Если кнопки скачивания не загрузились НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием, пожалуйста напишите в поддержку по адресу внизу страницы.
Спасибо за использование сервиса savevideohd.ru



Writing elegant host-side CUDA code in Modern C++

Hello CUDA community, On February 24th, we talked about writing elegant host-side CUDA code in Modern C++. Speaker: Eyal Rozenberg Abstract: C++ developers who learn to program GPUs using CUDA notice a strange discrepancy: You can write your kernels in proper C++, and in recent years - in modern versions of the language (C++11/14/17). But the host-side code - CUDA's runtime and driver API - looks like bad spaghetti from the 1980s: Pointers everywhere, including double-pointers as output parameters; numeric IDs used instead of classes; manual, explicit management of all resources and errors; etc. And the only alternative seems to be higher-level parallel frameworks (e.g. thrust) which force you into a set of abstractions and restrictions before you can do anything with them. In this talk we will gradually transform a sample ugly CUDA caterpillar of a program into a beautiful modern-C++ butterfly (which does the same thing). The "secret sauce" will be a lightweight, header-only, expresiness-preserving wrapper library, named cuda-api-wrappers. The talk will focus on coding practices, coding style, and some C++11/C++14 idioms in context of CUDA programming. No in-depth knowledge is required. The discussed library is available on the github: https://github.com/eyalroz/cuda-api-w...

Comments