cuda homework