CUDA Cooperative Groups : Linking error
问题 After reading about Cooperative Groups in CUDA 9, I've been trying synchronize at a grid level. I'm using Visual Studio 2017, a GTX 1060 and CUDA 9.1. I altered my code as follows: __global__ void ExplicitKernel_American(/* ... */) { int i = threadIdx.x + blockDim.x * blockIdx.x; auto grid = cooperative_groups::this_grid(); if (i < sizeS) { //... for (int j = 1; j < sizeT; ++j) { // ... grid.sync(); // __syncthreads(); } } } And, as stated in the documentation, I call my kernel this way :