Hello I use visual studio 2019, and when I try to use lambdas I get
extended-lambda nvcc flag required …
I typed --expt-extended-lambda inproperties-> C/C+±> Command Line → Additional options
I defined lambda like that
auto testLambda = []__device__(int* tensorrow, int i) { tensorrow[i] += 5; };
But It still do not work