config.json 파일에서
"threads": [
{
"index": 0,
"threads": 32,
"blocks": 12,
"bfactor": 0,
"bsleep": 0,
"affine_to_cpu": false
}
],
이상태에서 index : 0이면 0번 GPU
1을 넣으면 1번 GPU 만 돌아갑니다.
7을 넣으면 7번 GPU만 돌아갑니다.
8웨이 모두가 돌아가게 하려면 어떻게 해야 할까요?
"index": 0,
"threads": 32,
"blocks": 12,
"bfactor": 0,
"bsleep": 0,
"affine_to_cpu": false
},
{
"index": 1,
"threads": 32,
"blocks": 12,
"bfactor": 0,
"bsleep": 0,
"affine_to_cpu": false
},
{
"index": 2,
"threads": 32,
"blocks": 12,
"bfactor": 0,
"bsleep": 0,
"affine_to_cpu": false
},
{
"index": 3,
"threads": 32,
"blocks": 12,
"bfactor": 0,
"bsleep": 0,
"affine_to_cpu": false
},
{
"index": 4,
"threads": 32,
"blocks": 12,
"bfactor": 0,
"bsleep": 0,
"affine_to_cpu": false
},
{
"index": 5,
"threads": 32,
"blocks": 12,
"bfactor": 0,
"bsleep": 0,
"affine_to_cpu": false
},
{
"index": 6,
"threads": 32,
"blocks": 12,
"bfactor": 0,
"bsleep": 0,
"affine_to_cpu": false
},
{
"index": 7,
"threads": 32,
"blocks": 12,
"bfactor": 0,
"bsleep": 0,
"affine_to_cpu": false
}