# HG changeset patch # User Yuhi TOMARI # Date 1360052478 -32400 # Node ID ed3d4a769bf3c40987766e531ca3149adb84c0f0 # Parent 1b8da19bb31c1ad487c7891a7cb7ae8ec000f93e add divice type all diff -r 1b8da19bb31c -r ed3d4a769bf3 fft_fixstart/main.cc --- a/fft_fixstart/main.cc Tue Feb 05 16:40:13 2013 +0900 +++ b/fft_fixstart/main.cc Tue Feb 05 17:21:18 2013 +0900 @@ -139,6 +139,8 @@ device_type = CL_DEVICE_TYPE_CPU; } else if (strcmp(argv[i], "-gpu") == 0) { device_type = CL_DEVICE_TYPE_GPU; + } else if (strcmp(argv[i], "-all") == 0) { + device_type = CL_DEVICE_TYPE_ALL; } } if ( (argc == 1)||(filename==0)) {