Update channel CPU shim include and retain frozen projected driver
This commit is contained in:
1 parent
55067652e4
commit
7482d95a42
2 files changed
+2
-1
No files matched your search
@@ -42,6 +42,7 @@ inline float __fdiv_rn(float a,float b){return a/b;}
|
|||||||
#include "step/one_step_double.cu"
|
#include "step/one_step_double.cu"
|
||||||
#else
|
#else
|
||||||
#include "core/cell_kind.cuh"
|
#include "core/cell_kind.cuh"
|
||||||
|
#include "operators/block_collision.cuh"
|
||||||
#include "step/block_channel.cu"
|
#include "step/block_channel.cu"
|
||||||
#endif
|
#endif
|
||||||
int main(){
|
int main(){
|
||||||
|
|||||||
@@ -269,7 +269,7 @@ def remap_case(ctx, shifted, raw):
|
|||||||
refinements=refs[:2],level_blocks=blocks[:3],explosion='projected_linear') as run:
|
refinements=refs[:2],level_blocks=blocks[:3],explosion='projected_linear') as run:
|
||||||
initialize(run); run.step(1)
|
initialize(run); run.step(1)
|
||||||
before = snapshot(run,raw)
|
before = snapshot(run,raw)
|
||||||
with run.remap_finest([(22,22,42,42),(72,68,76,76)]) as clone:
|
with run.remap_child([(22,22,42,42),(72,68,76,76)]) as clone:
|
||||||
if clone._explosion != 'projected_linear' or any(p.neighbors is None for p in clone._pairs):
|
if clone._explosion != 'projected_linear' or any(p.neighbors is None for p in clone._pairs):
|
||||||
raise AssertionError('remap lost projected selection')
|
raise AssertionError('remap lost projected selection')
|
||||||
if clone.step_count != 1: raise AssertionError('remap lost synchronized count')
|
if clone.step_count != 1: raise AssertionError('remap lost synchronized count')
|
||||||
|
|||||||
Reference in new issue
Block a user