diff options
| author | Tomáš Jusko | 2023-08-17 19:49:32 +0200 |
|---|---|---|
| committer | Tomáš Jusko | 2023-08-17 19:49:32 +0200 |
| commit | fa796776e8f75f95d1a34500cea2621d181f9766 (patch) | |
| tree | bc5fe0e772e42dd3396d0204c5da3a0ca0ef2170 /pyecsca/sca | |
| parent | a4d69a9e70e90fa7ca6f4d3b284400c3ab1ee420 (diff) | |
| download | pyecsca-fa796776e8f75f95d1a34500cea2621d181f9766.tar.gz pyecsca-fa796776e8f75f95d1a34500cea2621d181f9766.tar.zst pyecsca-fa796776e8f75f95d1a34500cea2621d181f9766.zip | |
fix: Changed samples numpy order for chunking
Diffstat (limited to 'pyecsca/sca')
| -rw-r--r-- | pyecsca/sca/stacked_traces/combine.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pyecsca/sca/stacked_traces/combine.py b/pyecsca/sca/stacked_traces/combine.py index 83b79e8..77008a4 100644 --- a/pyecsca/sca/stacked_traces/combine.py +++ b/pyecsca/sca/stacked_traces/combine.py @@ -122,6 +122,8 @@ class GPUTraceManager(BaseTraceManager): ) super().__init__(traces) + self._traces.samples = np.asfortranarray(self._traces.samples) + self._tpb = tpb self._chunk_size = chunk_size self._combine_func = self._gpu_combine1D_all if chunk_size is None \ |
