Implement findNode on CUDA and instrument with time measurement.