diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-05 23:17:57 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2024-10-05 23:17:57 +0200 |
| commit | 8f6ac739c35c1d94adc504eb74a41b64d94a953f (patch) | |
| tree | 79af7b28613d20a6bea1ae7b5b3a6afae1180fc8 /src/solvers/h48/gendata_cocsep.h | |
| parent | ce2d2d1339b2e0f8f7bb4c5392acf4fbf4e00f03 (diff) | |
| download | nissy-core-8f6ac739c35c1d94adc504eb74a41b64d94a953f.tar.gz nissy-core-8f6ac739c35c1d94adc504eb74a41b64d94a953f.zip | |
Remove unnecessary _Atomics
Diffstat (limited to 'src/solvers/h48/gendata_cocsep.h')
| -rw-r--r-- | src/solvers/h48/gendata_cocsep.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/solvers/h48/gendata_cocsep.h b/src/solvers/h48/gendata_cocsep.h index fd483ce..a8142b4 100644 --- a/src/solvers/h48/gendata_cocsep.h +++ b/src/solvers/h48/gendata_cocsep.h | |||
| @@ -5,8 +5,7 @@ STATIC size_t gendata_cocsep(void *, uint64_t *, cube_t *); | |||
| 5 | STATIC uint32_t gendata_cocsep_dfs(cocsep_dfs_arg_t *); | 5 | STATIC uint32_t gendata_cocsep_dfs(cocsep_dfs_arg_t *); |
| 6 | STATIC void getdistribution_cocsep(const uint32_t *, uint64_t [static 21]); | 6 | STATIC void getdistribution_cocsep(const uint32_t *, uint64_t [static 21]); |
| 7 | 7 | ||
| 8 | STATIC_INLINE int8_t get_h48_cdata( | 8 | STATIC_INLINE int8_t get_h48_cdata(cube_t, const uint32_t *, uint32_t *); |
| 9 | cube_t, _Atomic const uint32_t *, uint32_t *); | ||
| 10 | 9 | ||
| 11 | /* | 10 | /* |
| 12 | Each element of the cocsep table is a uint32_t used as follows: | 11 | Each element of the cocsep table is a uint32_t used as follows: |
| @@ -159,7 +158,7 @@ set_visited(uint8_t *a, int64_t i) | |||
| 159 | } | 158 | } |
| 160 | 159 | ||
| 161 | STATIC_INLINE int8_t | 160 | STATIC_INLINE int8_t |
| 162 | get_h48_cdata(cube_t cube, _Atomic const uint32_t *cocsepdata, uint32_t *cdata) | 161 | get_h48_cdata(cube_t cube, const uint32_t *cocsepdata, uint32_t *cdata) |
| 163 | { | 162 | { |
| 164 | int64_t coord; | 163 | int64_t coord; |
| 165 | 164 | ||
