Cuda stuff inc. WHAM cuda