This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I made this source code to demonstrate an issue which affects the compile process of CUDA kernels. | |
// | |
// - All GPU architectures are affected | |
// - Tested on CUDA SDK 10.x and 9.x | |
// - Tested on Ubuntu 18.04 LTS and Windows 10 | |
__device__ void s (int *in, int *out); | |
__device__ void t (int *w0, int *w1, int *w2, int *w3, int *h); | |
// I created three artificial kernels. They all consist of 100% the same code. |