Advertisement
Guest User

fht

a guest
Dec 1st, 2015
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.26 KB | None | 0 0
  1. 1) OS X 10.11.1 (15B42) 2.6 GHz Intel Core i7
  2.  
  3. 2) ok
  4.  
  5. 3) many warnings:
  6.  
  7. g++ -O3 -march=native -std=c++11 -Wall best_chunk.cpp -o best_chunk fht.o
  8. g++: warning: couldn’t understand kern.osversion ‘15.0.0
  9. ld: warning: object file (/var/folders/bh/g93rjzn51b74cgmc6f75mlyw0000gn/T//ccBwysOD.o) was built for newer OSX version (10.11) than being linked (10.4)
  10. ld: warning: could not create compact unwind for measureTime(int, int, int, bool): does not use RBP or RSP based frame
  11. ld: warning: object file (fht.o) was built for newer OSX version (10.11) than being linked (10.4)
  12. ld: warning: could not create compact unwind for _FHTFloatIterativeHelper: does not use RBP or RSP based frame
  13. ld: warning: could not create compact unwind for _FHTDoubleIterativeHelper: register 3 saved somewhere other than in frame
  14. ld: warning: could not create compact unwind for _FHTFloatCombinedHelper: does not use RBP or RSP based frame
  15. ld: warning: could not create compact unwind for _FHTDoubleCombinedHelper: does not use RBP or RSP based frame
  16. ld: warning: could not create compact unwind for _FHTFloatIterative8HelperAVX: register 6 saved somewhere other than in frame
  17. ld: warning: could not create compact unwind for _FHTFloatIterative16HelperAVX: register 6 saved somewhere other than in frame
  18. ld: warning: could not create compact unwind for _FHTFloatIterative32HelperAVX: register 6 saved somewhere other than in frame
  19. ld: warning: could not create compact unwind for _FHTDoubleIterativeHelperAVX: does not use RBP or RSP based frame
  20. ld: warning: could not create compact unwind for _FHTDoubleCombinedHelperAVX: does not use RBP or RSP based frame
  21. ld: warning: could not create compact unwind for _FHTDouble: does not use RBP or RSP based frame
  22. ld: warning: could not create compact unwind for _FHTFloatNormalizeAVX: does not use RBP or RSP based frame
  23. ld: warning: could not create compact unwind for _FHTDoubleNormalizeAVX: does not use RBP or RSP based frame
  24. ld: warning: could not create compact unwind for _FHTDoubleCombinedAVX: does not use RBP or RSP based frame
  25. ld: warning: could not create compact unwind for _FHTFloatCombined: does not use RBP or RSP based frame
  26. ld: warning: could not create compact unwind for _FHTDoubleCombined: does not use RBP or RSP based frame
  27. ld: warning: could not create compact unwind for _FHTFloatIterativeLongHelperAVX: register 3 saved somewhere other than in frame
  28. ld: warning: could not create compact unwind for _FHTFloatIterativeHelperAVX: does not use RBP or RSP based frame
  29. ld: warning: could not create compact unwind for _FHTFloatCombinedHelperAVX: does not use RBP or RSP based frame
  30. ld: warning: could not create compact unwind for _FHTFloatCombinedAVX: does not use RBP or RSP based frame
  31. ld: warning: could not create compact unwind for _FHTFloat: does not use RBP or RSP based frame
  32. g++ -O3 -march=native -std=c++11 -Wall test.cpp -o test fht.o
  33. g++: warning: couldn’t understand kern.osversion ‘15.0.0
  34. ld: warning: object file (/var/folders/bh/g93rjzn51b74cgmc6f75mlyw0000gn/T//cczJdsf7.o) was built for newer OSX version (10.11) than being linked (10.4)
  35. ld: warning: object file (fht.o) was built for newer OSX version (10.11) than being linked (10.4)
  36. ld: warning: could not create compact unwind for void referenceFHTHelper<double>(double*, int) [clone .part.11]: does not use RBP or RSP based frame
  37. ld: warning: ld: warning: could not create compact unwind for void referenceFHTHelper<float>(float*, int) [clone .part.10]: does not use RBP or RSP based framecould not create compact unwind for _FHTFloatIterativeHelper: does not use RBP or RSP based frame
  38.  
  39. ld: warning: ld: warning: could not create compact unwind for void referenceFHT<float>(float*, int): does not use RBP or RSP based framecould not create compact unwind for _FHTDoubleIterativeHelper: register 3 saved somewhere other than in frame
  40.  
  41. ld: warning: ld: warning: could not create compact unwind for void referenceFHT<double>(double*, int): does not use RBP or RSP based framecould not create compact unwind for _FHTFloatCombinedHelper: does not use RBP or RSP based frame
  42.  
  43. ld: warning: could not create compact unwind for _FHTDoubleCombinedHelper: does not use RBP or RSP based frame
  44. ld: warning: could not create compact unwind for _FHTFloatIterative8HelperAVX: register 6 saved somewhere other than in frame
  45. ld: warning: could not create compact unwind for _FHTFloatIterative16HelperAVX: register 6 saved somewhere other than in frame
  46. ld: warning: could not create compact unwind for _FHTFloatIterative32HelperAVX: register 6 saved somewhere other than in frame
  47. ld: warning: could not create compact unwind for _FHTDoubleIterativeHelperAVX: does not use RBP or RSP based frame
  48. ld: warning: could not create compact unwind for _FHTDoubleCombinedHelperAVX: does not use RBP or RSP based frame
  49. ld: warning: could not create compact unwind for _FHTDouble: does not use RBP or RSP based frame
  50. ld: warning: could not create compact unwind for _FHTFloatNormalizeAVX: does not use RBP or RSP based frame
  51. ld: warning: could not create compact unwind for _FHTDoubleNormalizeAVX: does not use RBP or RSP based frame
  52. ld: warning: could not create compact unwind for _FHTDoubleCombinedAVX: does not use RBP or RSP based frame
  53. ld: warning: could not create compact unwind for _FHTFloatCombined: does not use RBP or RSP based frame
  54. ld: warning: could not create compact unwind for _FHTDoubleCombined: does not use RBP or RSP based frame
  55. ld: warning: could not create compact unwind for _FHTFloatIterativeLongHelperAVX: register 3 saved somewhere other than in frame
  56. ld: warning: could not create compact unwind for _FHTFloatIterativeHelperAVX: does not use RBP or RSP based frame
  57. ld: warning: could not create compact unwind for _FHTFloatCombinedHelperAVX: does not use RBP or RSP based frame
  58. ld: warning: could not create compact unwind for _FHTFloatCombinedAVX: does not use RBP or RSP based frame
  59. ld: warning: could not create compact unwind for _FHTFloat: does not use RBP or RSP based frame
  60.  
  61. 4) tests ok
  62.  
  63. 5)
  64. n = 1024
  65. determining the best chunk size for float
  66. chunk size 8: 1.58373e-06
  67. chunk size 16: 1.2211e-06
  68. chunk size 32: 1.01729e-06
  69. chunk size 64: 8.80433e-07
  70. chunk size 128: 8.69654e-07
  71. chunk size 256: 7.92288e-07
  72. chunk size 512: 7.73384e-07
  73. chunk size 1024: 7.57544e-07
  74. best chunk: 1024
  75. best time: 7.57544e-07
  76. determining the best chunk size for double
  77. chunk size 8: 2.78142e-06
  78. chunk size 16: 1.90129e-06
  79. chunk size 32: 1.63022e-06
  80. chunk size 64: 1.44125e-06
  81. chunk size 128: 1.31193e-06
  82. chunk size 256: 1.3095e-06
  83. chunk size 512: 1.30715e-06
  84. chunk size 1024: 1.32411e-06
  85. best chunk: 512
  86. best time: 1.30715e-06
  87.  
  88. n = 1048576
  89. determining the best chunk size for float
  90. chunk size 8: 0.00286267
  91. chunk size 16: 0.00255652
  92. chunk size 32: 0.00240716
  93. chunk size 64: 0.00247964
  94. chunk size 128: 0.00236718
  95. chunk size 256: 0.00231752
  96. chunk size 512: 0.00229667
  97. chunk size 1024: 0.00229837
  98. chunk size 2048: 0.00232201
  99. chunk size 4096: 0.00228597
  100. chunk size 8192: 0.00205678
  101. chunk size 16384: 0.00276382
  102. chunk size 32768: 0.00283525
  103. chunk size 65536: 0.00278609
  104. chunk size 131072: 0.0032337
  105. chunk size 262144: 0.00362588
  106. chunk size 524288: 0.00355522
  107. chunk size 1048576: 0.00355652
  108. best chunk: 8192
  109. best time: 0.00205678
  110. determining the best chunk size for double
  111. chunk size 8: 0.00625507
  112. chunk size 16: 0.0051595
  113. chunk size 32: 0.00476814
  114. chunk size 64: 0.00519182
  115. chunk size 128: 0.00490852
  116. chunk size 256: 0.00483421
  117. chunk size 512: 0.00521217
  118. chunk size 1024: 0.0050567
  119. chunk size 2048: 0.00514843
  120. chunk size 4096: 0.00498361
  121. chunk size 8192: 0.00577783
  122. chunk size 16384: 0.0057993
  123. chunk size 32768: 0.00681016
  124. chunk size 65536: 0.0073452
  125. chunk size 131072: 0.00727893
  126. chunk size 262144: 0.00694342
  127. chunk size 524288: 0.0083042
  128. chunk size 1048576: 0.00787831
  129. best chunk: 32
  130. best time: 0.00476814
  131.  
  132. n = 134217728
  133. determining the best chunk size for float
  134. chunk size 8: 0.755426
  135. chunk size 16: 0.757058
  136. chunk size 32: 0.733649
  137. chunk size 64: 0.705
  138. chunk size 128: 0.678706
  139. chunk size 256: 0.668905
  140. chunk size 512: 0.699621
  141. chunk size 1024: 0.675661
  142. chunk size 2048: 0.717759
  143. chunk size 4096: 0.714223
  144. chunk size 8192: 0.712501
  145. chunk size 16384: 0.856925
  146. chunk size 32768: 0.846723
  147. chunk size 65536: 0.769211
  148. chunk size 131072: 0.92012
  149. chunk size 262144: 0.82591
  150. chunk size 524288: 0.807856
  151. chunk size 1048576: 0.874469
  152. chunk size 2097152: 0.938643
  153. chunk size 4194304: 0.989538
  154. chunk size 8388608: 1.0535
  155. chunk size 16777216: 1.0475
  156. chunk size 33554432: 1.33383
  157. chunk size 67108864: 1.84095
  158. chunk size 134217728: 1.65796
  159. best chunk: 256
  160. best time: 0.668905
  161. determining the best chunk size for double
  162. chunk size 8: 1.61663
  163. chunk size 16: 1.59505
  164. chunk size 32: 1.55713
  165. chunk size 64: 1.41474
  166. chunk size 128: 1.46516
  167. chunk size 256: 1.62923
  168. chunk size 512: 1.45572
  169. chunk size 1024: 1.47333
  170. chunk size 2048: 1.48651
  171. chunk size 4096: 1.51168
  172. chunk size 8192: 1.62347
  173. chunk size 16384: 1.60903
  174. chunk size 32768: 1.67903
  175. chunk size 65536: 1.76872
  176. chunk size 131072: 1.76537
  177. chunk size 262144: 1.775
  178. chunk size 524288: 1.81351
  179. chunk size 1048576: 2.03947
  180. chunk size 2097152: 2.24668
  181. chunk size 4194304: 2.34219
  182. chunk size 8388608: 2.22652
  183. chunk size 16777216: 2.66225
  184. chunk size 33554432: 3.44465
  185. chunk size 67108864: 3.43289
  186. chunk size 134217728: 3.4003
  187. best chunk: 64
  188. best time: 1.41474
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement