Evolving a CUDA kernel from an nVidia template
Evolving a CUDA kernel from an nVidia template
复制标题
从 nVidia 模板演化 CUDA 内核
DOI:
--
复制
发表时间:
2010
期刊:
影响因子:
--
通讯作者:
M. Harman
中科院分区:
文献类型:
--
作者:
W. Langdon;M. Harman
Rather than attempting to evolve a complete program from scratch we demonstrate genetic interface programming (GIP) by automatically generating a parallel CUDA kernel with identical functionality to existing highly optimised ancient sequential C code (gzip). Generic GPGPU nVidia kernel C++ code is converted into a BNF grammar. Strongly typed genetic programming uses the BNF to generate compilable and executable graphics card kernels. Their fitness is given by running the population on a GPU with randomised subsets of training data itself derived from gzip's SIR test suite. Back-to-back validation uses the original code as a test oracle.