EDEM CUDA API Tutorial 1: CPU API to CUDA API Conversion


This tutorial covers the steps required for converting a CPU plugin into a GPU plugin that runs on Nvidia’s CUDA programming interface. In this tutorial a .cpp file, corresponding to a CPU API plugin that calculates a cohesive force using the ‘Linear Cohesion’ contact model for particles, will be converted into a .cu file, corresponding to a CUDA API plugin that calculates the same cohesive forces

In this tutorial, the user will learn:

• The basic principles behind converting a CPU API plugin script to a CUDA API script
• Where to find help regarding EDEM’s CUDA API functions
• How to perform basic debugging tasks for plugins using CUDA API