Fix and refactor KSVD::calculateSVD

17 jobs for dict_learning_ksvd in 14 minutes and 41 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Static Test
failed #2338990
linux elsa clang
clang-format

00:00:07

passed #2338871
clang elsa linux
clang-tidy

00:03:34

passed #2338873
clang elsa linux
cmake-lint

00:00:10

passed #2338872
clang elsa linux
comment-formating

00:00:08

failed #2338870
clang elsa linux
clang-format

00:00:07

 
  Compile
passed #2338877
clang elsa linux
build-clang10

00:03:26

passed #2338876
clang elsa linux
build-clang9

00:03:34

passed #2338878
cuda gcc elsa linux
build-cuda

00:05:10

passed #2338875
gcc elsa linux
build-gcc

00:04:46

passed #2338879
cuda gcc elsa linux
build-gpu-only

00:08:01

passed #2338874
elsa linux
build-ubuntu

00:05:16

 
  Test
failed #2338883
clang elsa linux
test-clang10

00:00:15

failed #2338882
clang elsa linux
test-clang9

00:00:15

failed #2338884
cuda gcc elsa linux
test-cuda

00:00:37

failed #2338881
gcc elsa linux
test-gcc

00:00:25

failed #2338885
cuda gcc elsa linux
test-gpu-only

00:03:02

failed #2338880
elsa linux
test-ubuntu

00:00:32

 
Name Stage Failure
failed
test-gpu-only Test
The following tests FAILED:
416 - KSVD: Solving a DictionaryLearningProblem (Failed)
Errors while running CTest
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build/test_reports/test_*.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
test-cuda Test
The following tests FAILED:
312 - KSVD: Solving a DictionaryLearningProblem (Failed)
Errors while running CTest
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build/test_reports/test_*.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
test-ubuntu Test
The following tests FAILED:
312 - KSVD: Solving a DictionaryLearningProblem (Failed)
Errors while running CTest
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build/test_reports/test_*.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
clang-format Static Test
$ ./tools/ci_scripts/clang-format-test.sh
[
INFO]: Formatting check with: clang-format version 10.0.0-4ubuntu1
[
INFO]: Running 'clang-format-10 --dry-run -Werror -style=file' on files...
No such file or directory
[
FAIL]: Ups, something isn't correct with the formatting, please check above errors
[
INFO]: From the root directory you can also run:
find elsa/ benchmarks/ examples/ | egrep ".+\.(h|hpp|cpp|cu|cuh)$" | xargs clang-format-10 -style=file
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
test-gcc Test
The following tests FAILED:
312 - KSVD: Solving a DictionaryLearningProblem (Failed)
Errors while running CTest
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build/test_reports/test_*.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
test-clang10 Test
The following tests FAILED:
313 - KSVD: Solving a DictionaryLearningProblem (Failed)
Errors while running CTest
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build/test_reports/test_*.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
test-clang9 Test
The following tests FAILED:
313 - KSVD: Solving a DictionaryLearningProblem (Failed)
Errors while running CTest
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build/test_reports/test_*.xml: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1