You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
572 B
30 lines
572 B
namespace ns1
|
|
{
|
|
namespace ns2
|
|
{
|
|
void func0()
|
|
{
|
|
functionThatTakesALambda( [&] () -> void
|
|
{
|
|
lambdaBody;
|
|
});
|
|
functionThatTakesALambda( [&] __device__ () -> void
|
|
{
|
|
lambdaBody;
|
|
});
|
|
functionThatTakesALambda( [&] __host__ __device__ () -> void
|
|
{
|
|
lambdaBody;
|
|
});
|
|
functionThatTakesALambda( [&] DEVICE_LAMBDA_CONTEXT () -> void
|
|
{
|
|
lambdaBody;
|
|
});
|
|
functionThatTakesALambda( [&] HOST_DEVICE_LAMBDA_CONTEXT () -> void
|
|
{
|
|
lambdaBody;
|
|
});
|
|
}
|
|
}
|
|
}
|