programming with a smile
An example of creating world-class graphics with the assistance of CUDA & OpenGL. Some serious processing!
Mark Harris from NVIDIA recently gave some advice on making your application faster by using cudaDeviceGetAttribute() instead of udaGetDeviceProperties() in specific cases. Check out the full details here: https://devblogs.nvidia.com/cuda-pro-tip-the-fast-way-to-query-device-properties/
A video walkthrough (120+ min) of adding texture to a rectangle in OpenGL. Includes source code.
This video walkthrough deals with creating a rectangle in OpenGL and managing indices in OpenGL. The video tutorial is 35+ minutes.
The third installment in the OpenGL series shows you how to create a triangle in OpenGL. The basics of generating an image in OpenGL. This video walkthrough of the process is 57+ minutes long.
This tutorial is a 54 minute video walkthrough of how to submit data to database using PHP & MySQL. This tutorial assumes that you have Wampserver installed on your Windows computer. If you do not have Wampserver installed on your […]
If code in a .cu file calls CUDA Runtime API functions but contains no ‘__device__’ code, rename the file to .cpp and compile it with the host compiler. You’ll get faster compilation time, which adds up in a large project. […]
Learn how to use CUDA Graphs to make your application run faster and more efficiently. This video walkthrough shows you how to create CUDA Graphs by the Stream Capture Method and the Explicit API method. It also includes source code.