EDEM CUDA API Tutorial 1: CPU API to CUDA API Conversion
RWood
Altair Employee
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
Tagged:
0