libaffa CUDA port