Mercurial > hg > Members > yuuhi > OpenCL
changeset 9:ed3d4a769bf3
add divice type all
author | Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 05 Feb 2013 17:21:18 +0900 |
parents | 1b8da19bb31c |
children | e38bef2012bc |
files | fft_fixstart/main.cc |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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)) {