Commit Graph

14 Commits

Author SHA1 Message Date
Claude Heiland-Allen 58f9f49c10 Merge branch 'parallel-synapse-generation' into 'main'
parallelize synapse generation using OpenMP

See merge request then-try-this/samplebrain!6
2022-09-29 12:01:14 +00:00
John Chadwick 1374c47afd Increase command data size to 1024. (Fixes #54) 2022-09-28 04:15:10 -04:00
Claude Heiland-Allen 8aa0dee3d1 parallelize synapse generation using OpenMP
- only tested on Debian Linux with a 16-thread amd64 CPU
- Windows may need DLLs to be shipped with the EXE
- using `-fopenmp` should be made optional via qmake somehow
  (without the flag, parallelization pragmas are ignored
  and it reverts to serial operation)
- assumes `status::update()` among other code is thread-safe,
  it seems to work on my machine without issues...
2022-09-27 13:19:04 +01:00
Dimitry Andric a831638171 Update project to Qt6:
* loaded and saved `samplebrain.ui` in Qt6 Designer
* generate `ui_samplebrain.h` on the fly (via `FORMS +=`)
* remove example files `sample.ui` and `ui_sample.h`
* remove `setMargin()` calls, these methods have been removed
* use `QFont::Bold` for `setWeight()` calls, numeric values aren't accepted anymore
* qualify `spiralcore::sample` in `block.cpp`'s `normalise()`
2022-09-24 22:50:43 +02:00
Dave Griffiths 0cfacdc8a8 turned off input device 2022-09-24 21:23:20 +01:00
Dave Griffiths b6dcb229d5 removed mic input as the worker threads were causing high cpu and it's not reliable anyway fixes #12 2022-09-24 17:49:27 +01:00
Dave Griffiths 5ef01395c4 added forgotten windows compile fixes and more README 2022-09-18 08:44:43 +01:00
Dave Griffiths f58602ecf4 docs and warnings fixed 2022-09-10 14:05:45 +01:00
Dave Griffiths cd30c10893 copyright updated 2022-09-08 12:21:53 +01:00
dave griffiths 905548bd36 crash fixed with no input device 2022-09-07 16:13:46 +01:00
dave griffiths 5eecc279ad fix for running with no output device, and mac building 2022-09-07 15:41:39 +01:00
Dave Griffiths d394b0c182 some manual work and fixed crash bug with cancel loading a session 2022-09-07 11:03:23 +01:00
Dave Griffiths a7baaf3b2b added a readme 2022-09-04 11:50:37 +01:00
Dave Griffiths ca3edd4515 big directory re-org 2022-09-04 11:38:20 +01:00