Hey again,
This is done :)
You can check on ./examples/autotuner/gemm_autotuning --help and tell me if
it is alright ! It is not heavily tested (I'm on my laptop) but he basic
tests suggest that it works.
I have added TCLAP , a MIT header-only cross-platform lightweight library
to parse command line arguments, this was in my opinion by far the cleanest
option, handling well optional/mandatory arguments, contraints etc...
Best regards,
Philippe
2013/8/22 Philippe Tillet <phil.til...@gmail.com>
> Hey,
>
>
>
>
> 2013/8/22 Karl Rupp <r...@iue.tuwien.ac.at>
>
>> Hi,
>>
>>
>> > Does it cause any issue if I use boost::program_options?
>>
>> yes and no. No, because already ublas::matrix<> is used for GEMV and
>> GEMM. Yes, because ideally we get rid of Boost for the autotuner in order
>> to be able to run it on more exotic hardware as well. I doubt that one can
>> install Boost on a Parallella board right now. It's not that hard to match
>> the command line strings directly, is it? ;-)
>>
>>
> It's not, but dealing with flexible command line options is something I
> have not really ever done, so I expect some robustness problems :) But
> well, this is not supposed to win a command line parsing contest either :)
>
> Philippe
>
>
>
>
>> Best regards,
>> Karli
>>
>>
>>> 2013/8/22 Karl Rupp <r...@iue.tuwien.ac.at <mailto:r...@iue.tuwien.ac.at
>>> >**>
>>>
>>>
>>> Hi guys,
>>>
>>> this is presumably mostly for Philippe:
>>>
>>> I noticed that the autotuning targets in examples/autotuner use a
>>> couple
>>> of static parameters. It would be nice to have them dynamically set
>>> via
>>> named command line parameters, so that it's easier to run them in a
>>> batched manner via some shell scripts on remote machines. In
>>> particular,
>>> this affects the following parameters:
>>>
>>> GEMM: SIZE_INC, MAX_SIZE, N_RUNS
>>> GEMV: size, vectorization (yes, no)
>>> DOT: size, vectorization (range)
>>>
>>> In two weeks I'll have the opportunity to run the tuner on one of the
>>> Parallella boards, so quick changes of the tuner parameters would
>>> help a
>>> lot... (consider a --help option)
>>>
>>> Best regards,
>>> Karli
>>>
>>> ------------------------------**------------------------------**
>>> ------------------
>>> Introducing Performance Central, a new site from SourceForge and
>>> AppDynamics. Performance Central is your source for news, insights,
>>> analysis and resources for efficient Application Performance
>>> Management.
>>> Visit us today!
>>> http://pubads.g.doubleclick.**net/gampad/clk?id=48897511&iu=**
>>> /4140/ostg.clktrk<http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk>
>>> ______________________________**_________________
>>> ViennaCL-devel mailing list
>>>
>>> ViennaCL-devel@lists.**sourceforge.net<ViennaCL-devel@lists.sourceforge.net>
>>>
>>> <mailto:ViennaCL-devel@lists.**sourceforge.net<ViennaCL-devel@lists.sourceforge.net>
>>> >
>>>
>>> https://lists.sourceforge.net/**lists/listinfo/viennacl-devel<https://lists.sourceforge.net/lists/listinfo/viennacl-devel>
>>>
>>>
>>>
>>
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
ViennaCL-devel mailing list
ViennaCL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/viennacl-devel