Author Topic: Testing Transpose of a Matrix  (Read 2461 times)

RuiLoureiro

  • Member
  • ****
  • Posts: 819
Re: Testing Transpose of a Matrix
« Reply #45 on: June 06, 2018, 04:05:38 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

« Last Edit: June 07, 2018, 02:04:40 AM by RuiLoureiro »

jj2007

  • Member
  • *****
  • Posts: 8772
  • Assembler is fun ;-)
    • MasmBasic
Re: Testing Transpose of a Matrix
« Reply #46 on: June 06, 2018, 04:57:03 PM »
Make a batch file?

RuiLoureiro

  • Member
  • ****
  • Posts: 819
Re: Testing Transpose of a Matrix
« Reply #47 on: June 06, 2018, 06:24:57 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 ?
« Last Edit: June 06, 2018, 07:29:23 PM by RuiLoureiro »

jj2007

  • Member
  • *****
  • Posts: 8772
  • Assembler is fun ;-)
    • MasmBasic
Re: Testing Transpose of a Matrix
« Reply #48 on: June 06, 2018, 07:29:02 PM »
Normally, it should look like this (save as test4Rui.bat):
Code: [Select]
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

  • Member
  • ****
  • Posts: 819
Re: Testing Transpose of a Matrix
« Reply #49 on: June 06, 2018, 07:37:36 PM »
Normally, it should look like this (save as test4Rui.bat):
Code: [Select]
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

  • Member
  • ***
  • Posts: 448
Re: Testing Transpose of a Matrix
« Reply #50 on: June 06, 2018, 08:53:38 PM »
Yes, something like this:
Code: [Select]
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

  • Member
  • ****
  • Posts: 819
Re: Testing Transpose of a Matrix
« Reply #51 on: June 07, 2018, 12:29:42 AM »
Yes, something like this:
Code: [Select]
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

  • Member
  • ****
  • Posts: 819
Re: Testing Transpose of a Matrix
« Reply #52 on: June 07, 2018, 05:04:45 AM »
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

  • Member
  • ****
  • Posts: 819
Re: Testing Transpose of a Matrix
« Reply #53 on: June 07, 2018, 08:59:27 AM »
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

  • Member
  • *****
  • Posts: 8772
  • Assembler is fun ;-)
    • MasmBasic
Re: Testing Transpose of a Matrix
« Reply #54 on: June 07, 2018, 11:10:38 AM »
Much better :t

Siekmanski

  • Member
  • *****
  • Posts: 1674
Re: Testing Transpose of a Matrix
« Reply #55 on: June 07, 2018, 08:10:54 PM »
The results.
Creative coders use backward thinking techniques as a strategy.

mineiro

  • Member
  • ***
  • Posts: 448
Re: Testing Transpose of a Matrix
« Reply #56 on: June 08, 2018, 02:53:15 AM »
Results:
I'd rather be this ambulant metamorphosis than to have that old opinion about everything

zedd151

  • Member
  • ****
  • Posts: 850
Re: Testing Transpose of a Matrix
« Reply #57 on: June 08, 2018, 08:14:11 AM »
results:

as always cpu speed 1.60 Ghz.

 :biggrin:
« Last Edit: July 19, 2018, 04:39:33 PM by zedd151 »
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

RuiLoureiro

  • Member
  • ****
  • Posts: 819
Re: Testing Transpose of a Matrix
« Reply #58 on: June 09, 2018, 07:38:06 AM »
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
« Last Edit: June 11, 2018, 01:50:46 AM by RuiLoureiro »

LiaoMi

  • Member
  • ***
  • Posts: 320
Re: Testing Transpose of a Matrix
« Reply #59 on: June 10, 2018, 08:09:21 AM »
Results -