Defined __device__ methods and got it to compile and run, still on the CPU. Missing actual kernel, memory transfers and getting rid of ffsll and vector.