News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

Testing Transpose of a Matrix

Started by RuiLoureiro, May 07, 2018, 02:13:55 AM

Previous topic - Next topic

RuiLoureiro

#45
Quote from: jj2007 on June 06, 2018, 02:49:25 PM
Rui, which one of the 16 exes should we test?
These 3
                TestTranspose97_100_cyclesSSE46_49_1000000
                TestTranspose506x512_evenlines_cyclesSSE46_49_1000
                TestTranspose506x512_oddlines_cyclesSSE46_49_1000


jj2007


RuiLoureiro

#47
Quote from: jj2007 on June 06, 2018, 04:57:03 PM
Make a batch file?
batch file ? It was in the 80's years i dont remember well now how. Help me andyou may  did it.
Yes ? I have so many things in my head that i dont have more space there now! :biggrin:
          EDIT: Jochen, yes a batch file is a good solution to exec each prog and add the resulsts to one text file. But i dont remember now how to do it . Do you want to help me ?

jj2007

Normally, it should look like this (save as test4Rui.bat):
TestTranspose97_100_cyclesSSE46_49.exe
TestTranspose506x512_evenlines_cyclesSSE46_49.exe
TestTranspose506x512_oddlines_cyclesSSE46_49.exe
pause


But it gives me 3x file not found, although I extracted the whole archive (16 exe) to the same folder. Are you sure these are the files we should test for you?

RuiLoureiro

Quote from: jj2007 on June 06, 2018, 07:29:02 PM
Normally, it should look like this (save as test4Rui.bat):
TestTranspose97_100_cyclesSSE46_49_1000000.exe      <<<<<<-----
TestTranspose506x512_evenlines_cyclesSSE46_49_1000.exe    <<<<----
TestTranspose506x512_oddlines_cyclesSSE46_49_1000.exe      <<<<<<<<----
pause


But it gives me 3x file not found, although I extracted the whole archive (16 exe) to the same folder. Are you sure these are the files we should test for you?
because the name ends in _1000000 for first and and _1000 for others 2.
             The results could be sent to a text file no ?

mineiro

Yes, something like this:

TestTranspose97_100_cyclesSSE46_49.exe > results.txt
TestTranspose506x512_evenlines_cyclesSSE46_49.exe >> results.txt
TestTranspose506x512_oddlines_cyclesSSE46_49.exe >> results.txt

But if program ask for user input I think will be more harder to do, if program only echo results to screen this can be like that.
The first ">" create a file and overwrite their contents, the second ">>" will append results at end of created file. Works from ms-dos to new cmd versions.
I'd rather be this ambulant metamorphosis than to have that old opinion about everything

RuiLoureiro

Quote from: mineiro on June 06, 2018, 08:53:38 PM
Yes, something like this:

TestTranspose97_100_cyclesSSE46_49.exe > results.txt
TestTranspose506x512_evenlines_cyclesSSE46_49.exe >> results.txt
TestTranspose506x512_oddlines_cyclesSSE46_49.exe >> results.txt

But if program ask for user input I think will be more harder to do, if program only echo results to screen this can be like that.
The first ">" create a file and overwrite their contents, the second ">>" will append results at end of created file. Works from ms-dos to new cmd versions.
Thanks,
               The first works, the other (>>) no.

RuiLoureiro

Quote from: jj2007 on June 06, 2018, 02:49:25 PM
Rui, which one of the 16 exes should we test?
Jochen,  some are not timing tests - try and see - and i would like to get the results of 3 only as i wrote. If with a batch file we cannot  create a single file of all tests - it doesnt work here- i need to create up to 4 batch files for upload the files, i think. In any way your idea is good i i will remove all inkeys in the exe files. I try to do it. By the way, that set of files means at least much hard work - we may see all the data organised.

Thanks

RuiLoureiro

Hi all,
        Here is the new version SSE46_49 that you may test/see my results.
        I made some minor revisions is some macros.
        If you have a i5 / i7 / AMD CPU and you want to show me
        your results, please ZIP each .txt file and post.
       
        If we use the batch file      TestThis46_49.bat                             
        we get:                     
                     resultsSSE46_49_506_512_evenlines.txt
                     resultsSSE46_49_506_512_oddlines.txt
                     resultsSSE46_49_97_100.txt
Thank you

jj2007


Siekmanski

Creative coders use backward thinking techniques as a strategy.

mineiro

I'd rather be this ambulant metamorphosis than to have that old opinion about everything

zedd151

#57
results:

as always cpu speed 1.60 Ghz.

:biggrin:

RuiLoureiro

#58
Hi all,
        Here are all the results by matrix type if you want to see it
        They are the results in your CPU.
Thanks for your work.


EDIT: all plus results from LiaoMe

LiaoMi