1. 19 Feb, 2015 2 commits
    • Kenneth Moreland's avatar
      Add radix-kr to list of testing single image strategies · 61267caa
      Kenneth Moreland authored
      I had meant to add it earlier, but I did it wrong.
      61267caa
    • Kenneth Moreland's avatar
      Add new radix-kr single image composite algorithm · d9622de8
      Kenneth Moreland authored
      The radix-kr is essentially the radix-k algorithm with some ideas from
      2-3 swap added in. Rather than forcing all the k's in radix-k to be
      factors, radix-kr allows the k to have a remainder when splitting the
      process. The remaining processes participate in that round by splitting
      their image and sending them off, but they receive nothing that round
      and then go idle. Although this adds some imbalance, it does not add
      much. It also makes keeping track of partitions easier than 2-3 swap.
      d9622de8
  2. 10 Feb, 2015 2 commits
    • 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
  3. 05 Feb, 2015 1 commit
    • Kenneth Moreland's avatar
      Remove reporting of no error in tests · 33d017c8
      Kenneth Moreland authored
      At the end of each test each process reported whether it got an IceT or
      OpenGL error including if it is no error. That can be helpful in part to
      know that the process successfully completed, but for tests on very
      large processes it generated excessively large log files. Instead
      suppress the report if there is no error.
      33d017c8
  4. 26 Sep, 2014 1 commit
  5. 17 Sep, 2014 1 commit
    • Kenneth Moreland's avatar
      Support GLFW library for tests. · 4a81a05b
      Kenneth Moreland authored
      Previously we were using GLUT to create windows and OpenGL contexts.
      However, the base GLUT is no longer maintained and APPLE as deprecated
      its use. There is another project, FreeGLUT, that is poised to replace
      the original GLUT library, but it does not support native Mac windows
      yet.
      
      There is another library named GLFW that is also a cross-platform
      library for creating OpenGL windows, and this one supports the native
      Mac windows. For now we are supporting both (with the default being
      GLUT, which is still more common).
      4a81a05b
  6. 13 May, 2011 2 commits
  7. 05 May, 2011 1 commit
  8. 04 May, 2011 2 commits
  9. 21 Mar, 2011 1 commit
  10. 04 Feb, 2011 1 commit
    • Kenneth Moreland's avatar
      Don't return in a macro. · 47c237a6
      Kenneth Moreland authored
      In checkOpenGLError and checkIceTError, there was a macro that defined
      an if statement that returned from a function.  This messed up the code
      metric software tau, which missed this return from the function.  Instead
      use the macro to define a case for a switch statement.
      47c237a6
  11. 15 Dec, 2010 1 commit
    • Kenneth Moreland's avatar
      Fix 64bit to 32bit demotions. · 402d28d2
      Kenneth Moreland authored
      Many parts of the code allowed implicit conversion from a 64 bit value
      to a 32 bit value.  A lot of this was using IceTSizeType as a 32 bit
      integer.  Using the compiler warnings, remove the conversions or make
      them explicit.
      402d28d2
  12. 10 Dec, 2010 1 commit
  13. 08 Dec, 2010 1 commit
  14. 02 Dec, 2010 1 commit
  15. 18 Nov, 2010 1 commit
  16. 09 Aug, 2010 1 commit
  17. 19 Jul, 2010 2 commits
    • Kenneth Moreland's avatar
      Suppress warning about fdopen not being declared. · cfdc98f6
      Kenneth Moreland authored
      Apparently on my Linux system fdopen was only declared in stdio
      if __USE_POSIX is declared.  Why would I not want to use POSIX?
      cfdc98f6
    • Kenneth Moreland's avatar
      Use enumerations to identify strategies. · bfe74898
      Kenneth Moreland authored
      Previously, strategies were specified with structures with function
      pointers.  Overly cleaver definitions made them look like macro
      definitions.  This all caused weird complications with calling things.
      Made things more explicit by making the strategy identifiers enumerated
      numbers and using switch statements to call them.
      bfe74898
  18. 14 Jul, 2010 1 commit
  19. 02 Jul, 2010 1 commit
  20. 14 Jun, 2010 1 commit
    • Kenneth Moreland's avatar
      Decompress composite was clearing inactive pixels. · 2b3aab29
      Kenneth Moreland authored
      In the decompress composite code, when the src buffer had
      inactive pixels, the pixels were cleared out in the dest
      buffer rather than just skipped over.  (Basically, it was
      using the code for simple decompression rather than create
      a special version for decompress/composite.)
      2b3aab29
  21. 11 Jun, 2010 1 commit
  22. 18 May, 2010 1 commit
    • Kenneth Moreland's avatar
      Turn on alpha bit planes in OpenGL window. · 5f1a9c8a
      Kenneth Moreland authored
      I made the classic mistake of not creating an alpha channel
      in the OpenGL color buffers, which means that blending did
      not work correctly in the tests.  Turns out that the Glut
      flag GLUT_RGBA really just means RGB unless you also specify
      GLUT_ALPHA.
      5f1a9c8a
  23. 14 May, 2010 1 commit
  24. 13 May, 2010 1 commit
  25. 12 May, 2010 1 commit
    • Kenneth Moreland's avatar
      Work around buggy glPixelStore. · 66c3aa2b
      Kenneth Moreland authored
      I noticed the RandomTransform test failed on my Mac laptop
      (seed, rank 0 = 1273609816; seed, rank 1 = 1273609836).
      After much looking I narrowed down the problem to an OpenGL
      image read failing.  The problem appears to be with
      glPixelStore.  Specifically, if I set a positive value for
      GL_PACK_SKIP_ROWS, the subsequent glReadPixels fails.  I work
      around this problem by not using glPixelStore and instead
      shifting the buffer pointer passed to glReadPixels.
      66c3aa2b
  26. 11 May, 2010 1 commit
    • Kenneth Moreland's avatar
      Show window on Mac · c944b046
      Kenneth Moreland authored
      For whatever reason, Glut on Mac does not actually open a
      window before calling the first display callback even though
      the OpenGL context was created.  Since we were exiting in
      the display callback, the window was never actually shown.
      Instead, do all the test in the idle callback.
      c944b046
  27. 04 May, 2010 1 commit
    • Kenneth Moreland's avatar
      Converted tests to use Glut. · ccc8ed32
      Kenneth Moreland authored
      Previously the tests used some hack-ish code for creating windows
      on X and Win32.  Unfortunately, this meant that I could not run
      the tests on Mac, where I now do most of my development.  Rather
      that make my own knock off again, I am using a well-established
      portable library.
      ccc8ed32
  28. 06 Sep, 2007 1 commit
  29. 16 Dec, 2005 1 commit
  30. 30 Aug, 2004 1 commit
  31. 16 Jul, 2003 1 commit
  32. 17 Jun, 2003 1 commit