Commit Graph

23 Commits

Author SHA1 Message Date
Martin Pulec
4ac8b7eb0f fixed CID 53957
For some reason, this old Coverity issue was already marked as solved.
Also it is slightly more effective to store the end pointer than
evaluate in every pass.
2023-06-06 10:14:08 +02:00
Martin Pulec
c20b3f3e4e another ldgm-session.cpp fix
fixed the same commit 43ba6b4e as before

The reference was used instead of iterator, but the reference cannot be reused because the second assignment overrides the original node contents instead of working on the second node.
2023-05-12 16:08:25 +02:00
Martin Pulec
183d175d73 fixed some of new Coverity issues 2023-05-10 08:52:02 +02:00
Martin Pulec
602095e38a fixed some further snprintf warns
fixes warnings with Xcode 14.3 as in previous commit

+ allocate +1 in Log_output buffer - snprintf(MULL, 0...) returns number
  of bytes without terminating '\0'. std::string storage isn't guaranteed
  to be NULL-terminated (std::string("").at(0) throws an exception). The
  buffer is somewhere preallocated 256 which prevents problem but it's
  better not to rely upon it.
+ comment out some unused function in LDGM that also triggered the
  warning but looked a bit suspicious so it was not clear how to fix
2023-04-12 12:52:07 +02:00
Martin Pulec
c96b6f68cd ldgm-session-cpu.cpp: fixed warnings
Some variables were used only by commented-out code, so comment them out
as well.
2022-10-20 13:44:52 +02:00
Martin Pulec
66b685f7ad updated .gitignores
- added gitignore for LDGM
- removed dir suffix for build* and documentation (support symlinks as
  well)
2022-10-04 11:55:59 +02:00
Martin Piatka
eebb138626 ldgm gpu: Move cuda_check_error macro
nvcc had some problems with gcc 12.1 stl map templates when compiling gpu.cu.
And since ldgm-session-gpu.h which contained the c++ code was only needed for
this one macro, it's probably better to move it to gpu.cuh which is
already included by all files that need it.
2022-05-12 10:13:28 +02:00
Martin Pulec
66971d9aeb LDGM: removed main.cpp.orig
Doesn't differ from main.cpp much and it is in history, anyways.

This change is mostly to allow batch removal of .orig files in repo
without affecting a tracked file.
2022-03-23 14:09:47 +01:00
Martin Pulec
c35083fa91 Suppress clang warnings 2021-09-08 08:25:10 +02:00
Martin Pulec
951db95e36 Removed some old LDGM data
This reduces sources size by a great deal - matrices occupied some
33 MBs.

Seems useless - matrices are should be perhaps reconstructed by
matrix-gen but seem incompatible with current version (doesn't
have k/m/c header).

The scripts are not compatible with current version (and used data/
is missing).
2021-07-22 10:08:38 +02:00
Martin Pulec
2edd041d62 LDGM lib: matrix-gen small fixes 2021-07-19 14:08:21 +02:00
Martin Pulec
320ea5d3df Fixed some Coverity warnings 2021-03-25 15:08:03 +01:00
Martin Pulec
4aaec8f7f0 Fixed some Coverity warnings 2021-02-23 15:00:58 +01:00
Martin Pulec
a7830d3bc2 Fixed few warnings 2018-07-24 09:38:47 +02:00
Lukas Rucka
429f1732c9 Add configure option to build cuda directly with clang 2017-12-15 16:36:53 +01:00
Lukas Rucka
4432fb42de Drop cuda compute capability 2.0 support 2017-12-15 16:36:53 +01:00
Martin Piatka
7ff0ec7c11 LDGM: Reduce an unnecessarily large memset 2017-01-09 13:10:56 +01:00
Martin Piatka
4a64385ba6 LDGM: Allocate memory for parity packet only once 2017-01-09 12:56:52 +01:00
Martin Pulec
f489c68626 Readded LDGM source files 2016-11-24 17:54:16 +01:00
Martin Pulec
ac4a2a171e Removed submodule ldgm 2016-11-24 17:41:17 +01:00
Martin Pulec
b940c828c2 Bump to new LDGM 2015-03-27 15:33:56 +01:00
Martin Pulec
5ba4fa05ae Basic support for Raspberry Pi 2015-03-26 14:42:16 +01:00
Martin Pulec
5ae7acdba0 Remove LDGM from UltraGrid sources
Added LDGM as a submodule.
2014-11-06 10:39:09 +01:00