how to compile cuda newton template meta-programming sample program -


how compile sample cuda newton metaprogramming program in

evaluating expressions consisting of elementwise matrix operations in thrust

for reference, newton here: https://github.com/jaredhoberock/newton

here start of output:

nvcc -i. -i/local/cuda/include test_newton.cu   nvcc warning : 'compute_20', 'sm_20', , 'sm_21' architectures deprecated, , may removed in future release (use -wno-deprecated-gpu-targets suppress warning). ./newton/detail/range/range_traits.hpp(171): error: expected ">"  ./newton/detail/range/range_traits.hpp(177): warning: parsing restarts here after previous syntax error  ./newton/detail/range/range_traits.hpp(171): error: mismatched delimiters in default argument expression  ./newton/detail/range/range_traits.hpp(177): error: expected "," or ">"  ./newton/detail/range/range_traits.hpp(177): error: expected "," or ">"  ./newton/detail/range/range_traits.hpp(177): error: expected declaration  ./newton/detail/arithmetic.hpp(35): error: namespace "newton::detail" has no member "lazy_enable_if_at_least_one_is_range"  ./newton/detail/arithmetic.hpp(36): error: namespace "newton::detail" has no member "lazy_enable_if_at_least_one_is_range"  ./newton/detail/arithmetic.hpp(37): error: namespace "newton::detail" has no member "lazy_enable_if_at_least_one_is_range" 

this nvcc:

nvcc -v                                         nvcc: nvidia (r) cuda compiler driver copyright (c) 2005-2016 nvidia corporation built on tue_jan_10_13:22:03_cst_2017 cuda compilation tools, release 8.0, v8.0.61 

finally, since newton has had no changes in 2 years, should trying use? it's trying do.

help? thanks.

i got compile separating >> > > in template. apparently versions of c++ allow >> others not.

that raised other questions i'll post separately.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -