cuda based lca compiles and runs, not checked at all