Reducing header dependences
Fixed CUDA compilation error #276