Code Monkey home page Code Monkey logo

state-space-renderer's People

Stargazers

adku avatar

Watchers

Art Pelling avatar

state-space-renderer's Issues

benchmark cleanup

Use google benchmark function to cleanup loops, initialization, etc.

Renderer class

Generate Renderer class with some implementations:

  • JackRenderer
  • RandomRenderer

XGEMM generates memory leak

Running valgrind gives the following summary:

==10461== 
==10461== HEAP SUMMARY:
==10461==     in use at exit: 13,664 bytes in 39 blocks
==10461==   total heap usage: 6,313 allocs, 6,274 frees, 1,386,576 bytes allocated
==10461== 
==10461== 160 bytes in 1 blocks are possibly lost in loss record 12 of 19
==10461==    at 0x4E050C5: malloc (vg_replace_malloc.c:442)
==10461==    by 0x4C22068: ??? (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4C2109A: ___kmp_allocate (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4CA1BE6: ??? (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4C4B522: ??? (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4C3985A: ??? (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4C47D88: ??? (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4C47D59: ??? (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4CCCEF1: omp_get_num_procs (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0xADEB31D: mkl_serv_get_num_stripes (in /usr/lib/x86_64-linux-gnu/libmkl_intel_thread.so)
==10461==    by 0xAECEA61: mkl_blas_dgemm (in /usr/lib/x86_64-linux-gnu/libmkl_intel_thread.so)
==10461==    by 0xE5B30F0: DGEMM (in /usr/lib/x86_64-linux-gnu/libmkl_intel_lp64.so)
==10461== 
==10461== 2,396 bytes in 1 blocks are possibly lost in loss record 18 of 19
==10461==    at 0x4E050C5: malloc (vg_replace_malloc.c:442)
==10461==    by 0x4C22068: ??? (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4C2109A: ___kmp_allocate (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4C4C557: ??? (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4C39546: ??? (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4C47D88: ??? (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4C47D59: ??? (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0x4CCCEF1: omp_get_num_procs (in /usr/lib/llvm-14/lib/libomp.so.5)
==10461==    by 0xADEB31D: mkl_serv_get_num_stripes (in /usr/lib/x86_64-linux-gnu/libmkl_intel_thread.so)
==10461==    by 0xAECEA61: mkl_blas_dgemm (in /usr/lib/x86_64-linux-gnu/libmkl_intel_thread.so)
==10461==    by 0xE5B30F0: DGEMM (in /usr/lib/x86_64-linux-gnu/libmkl_intel_lp64.so)
==10461==    by 0x538C40F: DGEMM (in /usr/lib/x86_64-linux-gnu/libmkl_rt.so)
==10461== 
==10461== LEAK SUMMARY:
==10461==    definitely lost: 0 bytes in 0 blocks
==10461==    indirectly lost: 0 bytes in 0 blocks
==10461==      possibly lost: 2,556 bytes in 2 blocks
==10461==    still reachable: 11,108 bytes in 37 blocks
==10461==         suppressed: 0 bytes in 0 blocks
==10461== Reachable blocks (those to which a pointer was found) are not shown.
==10461== To see them, rerun with: --leak-check=full --show-leak-kinds=all
==10461== 
==10461== For lists of detected and suppressed errors, rerun with: -s
==10461== ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.