Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngscopeclient/scopehal-apps
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2463eb56a401
Choose a base ref
...
head repository: ngscopeclient/scopehal-apps
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e0dde4c9fdc7
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Aug 9, 2020

  1. Copy the full SHA
    e0dde4c View commit details
Showing with 4 additions and 3 deletions.
  1. +1 −1 lib
  2. +1 −1 src/glscopeclient/WaveformArea_rendering.cpp
  3. +2 −1 src/glscopeclient/main.cpp
2 changes: 1 addition & 1 deletion lib
Submodule lib updated from 3b9fc6 to 22a7b2
2 changes: 1 addition & 1 deletion src/glscopeclient/WaveformArea_rendering.cpp
Original file line number Diff line number Diff line change
@@ -235,7 +235,7 @@ void WaveformArea::Int64ToFloatAVX512(float* dst, int64_t* src, size_t len)
size_t len_rounded = len - (len % 8);

//Main unrolled loop
#pragma omp parallel for
//#pragma omp parallel for
for(size_t j=0; j<len_rounded; j+= 8)
{
__m512i i64x8 = _mm512_load_epi64(src + j);
3 changes: 2 additions & 1 deletion src/glscopeclient/main.cpp
Original file line number Diff line number Diff line change
@@ -313,7 +313,8 @@ void ScopeThread(Oscilloscope* scope)
pthread_setname_np(pthread_self(), "ScopeThread");
#endif

omp_set_num_threads(8);
//Assume hyperthreading is enabled and only use one thread per physical core
omp_set_num_threads(omp_get_num_procs() / 2);

double tlast = GetTime();
size_t npolls = 0;