diff --git a/.vscode/launch.json b/.vscode/launch.json index 9ec97c7..6a47941 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,7 +2,7 @@ "version": "0.2.0", "configurations": [ { - "name": "dvpp", + "name": "vpt_proj", "type": "cppdbg", "request": "launch", "program": "${workspaceFolder}/bin/vpt_proj", diff --git a/src/demo/demo.cpp b/src/demo/demo.cpp index ff911f9..fadedb4 100755 --- a/src/demo/demo.cpp +++ b/src/demo/demo.cpp @@ -1242,7 +1242,7 @@ void test_gpu(int gpuID){ // } - createTask(handle, algor_vec2, 0, false); + // createTask(handle, algor_vec2, 0, false); // createTask(handle, algor_vec2, 2, false); // createTask(handle, algor_vec2, 0, false); // createTask(handle, algor_vec2, 2, false); @@ -1261,7 +1261,7 @@ void test_gpu(int gpuID){ while (true) { int task_count = count_running_task(handle); - if (task_count < 7) + if (task_count < 13) { // if (task_index > 7) // { @@ -1269,9 +1269,7 @@ void test_gpu(int gpuID){ // break; // } - createTask(handle, algor_vec2, 28, false); - task_index++; - createTask(handle, algor_vec2, 29, false); + createTask(handle, algor_vec2, 26, false); task_index++; } @@ -1453,12 +1451,12 @@ int main(int argc, char *argv[]) { // int repeat_num = atoi(argv[3]); // int gpuID = atoi(argv[4]); - // test_gpu(0); + test_gpu(0); // test_gpu(1); // test_gpu(2); // test_gpu(3); - test_dvpp28181(0); + // test_dvpp28181(0); printf("Done.\n");