Bat file basic usage

Bat file basic usage

This could as well be called “the beginner’s guide to .bat”. First of all, it a good idea to download some tool to help us start right away. I personally have found the best solutions to be the Microsoft Visual Studio Code and Notepad ++. Both are...
CUDA Unified Memory Sample

CUDA Unified Memory Sample

Old CUDA programmers (Like me) are used to use the cudaMemcpy() functions to transfer data to and from the GPU. Copying the data over PCI-Express is a necessary operation during each computation. I have written countless of functions and algorithms, that include some...
Timeout Detection and Recovery (TDR)  CUDA

Timeout Detection and Recovery (TDR) CUDA

If you came here, you probably wonder how to increase the CUDA kernel timeout under windows. This mechanism of “recovering” the graphics driver is in its base not a bad idea. Users are not forced to manually reset the whole computer in case of driver or...