Removed some unused code, fixed return type, and method call replacing
Refactored gpu.jl to expose ptx creation with types instead of values.