Taichi如何设置GPU并行核心数目

我想着同时开两个程序进行cuda并行计算,但是不知道如何设置cuda核心数。我知道CPU并行时,能够设置thread数目,GPU是如何设置了?

ti.loop_config(parallelize=8, block_dim=16)
# If the kernel is run on the CPU backend, 8 threads will be used to run it
# If the kernel is run on the CUDA backend, each block will have 16 threads.

Thanks for your reply. I will try this feature asap. :grinning: