1. 31 Oct, 2017 2 commits
    • Kenneth Moreland's avatar
      Fix portable implementations with GNU compiler · b1655f1e
      Kenneth Moreland authored
      The GNU compiler is being strict about POSIX compliance. Explicitly
      port those things outside of POSIX (like snprintf).
      b1655f1e
    • Kenneth Moreland's avatar
      Fix warnings on MSVC · f577114f
      Kenneth Moreland authored
      Most of the warnings are about using "unsafe" functions. In addition to
      replacing string functions like strcpy with counting strncpy versions,
      which makes sense, older MSVC versions for some reason don't support
      POSIX versions of these functions. Instead, they have their weird
      offshoots, which is a pain.
      f577114f
  2. 29 Sep, 2015 1 commit
    • Dan Lipsa's avatar
      Fix compilation errors · a6ba1621
      Dan Lipsa authored
      Compilation error on Visual Studio 10 Win 64.
      Fix undefined symbol: TEST_NOT_PASSED
      a6ba1621
  3. 11 Mar, 2015 1 commit
    • Kenneth Moreland's avatar
      Turn of interlacing when testing dense images · 90ca8a91
      Kenneth Moreland authored
      When you render a dense image, the load balancing should be pretty
      even. At any rate, it probably won't help to shift around pixels when
      there are the same amount of pixels everywhere, so ultimately this
      is a waste of time.
      90ca8a91
  4. 04 Mar, 2015 1 commit
    • Kenneth Moreland's avatar
      Add dense images option to SimpleTiming. · 6ed42886
      Kenneth Moreland authored
      IceT insists on using sparse images most of the time because they are
      almost always better (at least at the beginning part of the
      compositing). Add an option to SimpleTiming to draw images that have no
      background pixels so that the "sparse" images are equivalent to dense
      images. This is done by making the depth of background pixels slightly
      above and the opacity never 0.
      6ed42886
  5. 03 Mar, 2015 1 commit
    • Kenneth Moreland's avatar
      Add zoom to camera in SimpleTiming · 2b1c3572
      Kenneth Moreland authored
      The camera angles in SimpleTiming are more-or-less perfect for IceT's
      image compositing. It is a fairly common case to want to zoom into the
      data, especially if there is some intersting detail. This could add
      extra work and load imbalance and could make the tests more interesting.
      2b1c3572
  6. 27 Feb, 2015 2 commits
  7. 19 Feb, 2015 1 commit
  8. 10 Feb, 2015 3 commits
    • Kenneth Moreland's avatar
      Add interlace time to SimpleTiming · 9466e2d7
      Kenneth Moreland authored
      9466e2d7
    • Kenneth Moreland's avatar
      Separate out OpenGL and non-OpenGL tests · a7aa5efd
      Kenneth Moreland authored
      Previously, if OpenGL was enabled all tests would create a render window
      even if it was never used because they were all crammed into the same
      executable that initalized with the OpenGL context. This is an artifact
      from early versions of IceT that always required OpenGL.
      
      Creating an OpenGL context shouldn't change the results of the test, but
      it was annoying to have a bunch of windows created for every test. This
      change separates out the OpenGl tests from those that don't use it so
      that most of the tests now just run in the background.
      a7aa5efd
    • Kenneth Moreland's avatar
      Make test file name separators consistent · a9baf8fa
      Kenneth Moreland authored
      Some of the files in the tests directory used a dash to separate words
      (e.g. test-config.h and test-util.h) whereas others used an underscore
      (e.g. test_codes.h and mpi_comm.h). Renamed the files such that they all
      use underscores, which matches better the filenames used elsewhere.
      a9baf8fa
  9. 05 Feb, 2015 2 commits
    • Kenneth Moreland's avatar
      Make max image split study more complete in SimpleTiming. · 90eede98
      Kenneth Moreland authored
      The usage of the -max-image-split-study of SimpleTiming states that it
      tries doubling the max split. For some reason I implemented it by
      multipling by the magic k value each time. Change it so it actually just
      doubles the max image split and does a more complete search.
      90eede98
    • Kenneth Moreland's avatar
      Collect timing in SimpleTiming before printing · 22ce5549
      Kenneth Moreland authored
      Previously, the root process would print the log at the end of
      SimpleTimingDoRender. The problem is that in the scaling studies the
      world communicator is partitioned so that there are multiple root
      processes running at once. I've been having trouble with log entries
      stomping over each other.
      
      This change holds all the timings in a buffer rather than print them.
      After scaling studies are complete, all log entries are collected to the
      world root and printed out there.
      22ce5549
  10. 03 Feb, 2015 1 commit
  11. 27 Jan, 2015 1 commit
  12. 22 Jan, 2015 1 commit
    • Kenneth Moreland's avatar
      Enable pre-rendered images in SimpleTiming. · a80351d7
      Kenneth Moreland authored
      The rendering in SimpleTiming is not realistic, so it does not make much
      sense to measure it. Instead, by default prerender the image and time
      only how long it takes IceT to composite the image.
      a80351d7
  13. 20 Jan, 2015 2 commits
    • Kenneth Moreland's avatar
      Add ability to do factor-of-2-3 scaling studies. · 9e1c92fa
      Kenneth Moreland authored
      Add to SimpleTiming another scaling study that introduces lots of
      intermediate job sizes that have factors of 3. This studies around
      algorithms that might be optimized for power of 2.
      9e1c92fa
    • Kenneth Moreland's avatar
      Add ability to do factor-of-2 scaling studies. · adbc57b0
      Kenneth Moreland authored
      SimpleTiming has an option to try all processor combinations that are
      powers of 2 up to the job size. Jobs of small size are run concurrently,
      which should speed the overall job time but will probably result in some
      communication contention.
      adbc57b0
  14. 02 Nov, 2011 1 commit
  15. 04 May, 2011 1 commit
  16. 08 Apr, 2011 1 commit
  17. 28 Mar, 2011 2 commits
  18. 24 Mar, 2011 1 commit
  19. 22 Mar, 2011 1 commit
  20. 21 Mar, 2011 1 commit
  21. 02 Mar, 2011 1 commit
  22. 24 Feb, 2011 2 commits
  23. 18 Feb, 2011 1 commit
    • Kenneth Moreland's avatar
      Split sizes based on final split size. · f5008166
      Kenneth Moreland authored
      Changed icetSparseImageSplit and associated functions to base the size
      of the splits based on the eventual number of splits done by the end
      of the algorithm.  Each of these functions takes a new
      eventual_num_partitions argument that is the number of times the
      image will be split by the end of the algorithm.  If you partition
      the image by factors of this number, you will get the same partition
      sizes and order as if you partitioned by that number to begin with.
      f5008166
  24. 15 Feb, 2011 3 commits
    • Kenneth Moreland's avatar
      Add sync render option to simple timing. · b08211cf
      Kenneth Moreland authored
      I am having trouble getting my crummy rendering routines to load balance
      even though they have about the same amount of work to do.  Instead,
      punt and add an option that will synchronize the renders so they all
      finish at the same time.  When you measure the composite performance,
      it will be roughly equivalent to a quick render.
      b08211cf
    • Kenneth Moreland's avatar
      Reduce fov angle in simple timing. · c065d051
      Kenneth Moreland authored
      The field of view angle used in the simple timing test was a bit
      exaggerated.  Appart from not being well representative of a real
      application, it was causing load imbalances in the rendering
      (I think).
      c065d051
    • Kenneth Moreland's avatar
      Use an array for quick lookup of power function. · 0ac67f42
      Kenneth Moreland authored
      The pow function can take a while to complete.  The array lookup
      provides enough accuracy for our purposes and is generally faster.
      0ac67f42
  25. 04 Feb, 2011 1 commit
    • Kenneth Moreland's avatar
      Black backgrounds in SimpleTiming · 2746422d
      Kenneth Moreland authored
      Add a flag to SimpleTiming to turn black background on and off.  If
      in transparent mode and the background is anything other than black
      (with no opacity), then IceT has to "correct" the background by
      blending the composite image to the background.  Although important
      in practice, it is not worth timing when comparing algorithms.
      
      Now that I think about it, the correction is done completely on the
      display node.  Why not have the correction happen right before the
      collection so that this time is shared amongst processes?
      2746422d
  26. 26 Jan, 2011 1 commit
  27. 20 Jan, 2011 1 commit
  28. 11 Jan, 2011 1 commit
    • Kenneth Moreland's avatar
      SimpleTiming now collects timing information in root process. · 7c8c62bf
      Kenneth Moreland authored
      Previously, each process wrote out its own log file, which were then
      to be collected by some other means.  However, the size is becoming
      problematic for large process counts.  Instead, the root process
      collects all the other timing information and computes the max for
      all processes, which is what I was doing in post processing anyway.
      7c8c62bf
  29. 16 Dec, 2010 1 commit
  30. 15 Dec, 2010 1 commit