Improved As_Demo.cu