gridgroup是对一个核函数(Kernel)启动的所有SIMT线程的抽象,线程范围覆盖当前Grid中的所有线程块及其线程。通过gridgroup可以查询Grid维度、线程块排名、全局线程排名,并通过sync()在Grid范围内进行跨线程块同步。 `cpp bool is_valid() const; void sync() const; static unsigned long long thread_rank(); static unsigned long long block_rank(); static unsigned long long num_threads(); static