Fix #481 device scheduling mode

Change CUDA device flag from cudaDeviceScheduleYield to cudaDeviceScheduleSpin
Related to issue #481 
pls newline me