Module: Ritsu::SrcFiles::AddCuFile
Instance Method Summary collapse
Instance Method Details
#add_cu_file(path, options = {}) ⇒ Object
25 26 27 28 |
# File 'lib/ritsu/ext/cuda/src_files/cu_file.rb', line 25 def add_cu_file(path, ={}) src_path = compute_src_path(path, ) CuFile.new(src_path, self) end |
#add_cu_files(*paths) ⇒ Object
30 31 32 33 34 |
# File 'lib/ritsu/ext/cuda/src_files/cu_file.rb', line 30 def add_cu_files(*paths) paths.each do |path| add_cu_file(path) end end |