summaryrefslogtreecommitdiff
path: root/tangle/benchmark-ldc.cu
diff options
context:
space:
mode:
authorAdrian Kummerlaender2021-08-23 22:04:50 +0200
committerAdrian Kummerlaender2021-08-23 22:04:50 +0200
commit8691f6f7306914d8fc9d5afc8a347ebf5ce0a7d7 (patch)
tree677c40069c559c6f10da4100e0d5de82bf1886d0 /tangle/benchmark-ldc.cu
parentec18c110e5852997727683663b48ba3919902617 (diff)
downloadLiterateLB-8691f6f7306914d8fc9d5afc8a347ebf5ce0a7d7.tar
LiterateLB-8691f6f7306914d8fc9d5afc8a347ebf5ce0a7d7.tar.gz
LiterateLB-8691f6f7306914d8fc9d5afc8a347ebf5ce0a7d7.tar.bz2
LiterateLB-8691f6f7306914d8fc9d5afc8a347ebf5ce0a7d7.tar.lz
LiterateLB-8691f6f7306914d8fc9d5afc8a347ebf5ce0a7d7.tar.xz
LiterateLB-8691f6f7306914d8fc9d5afc8a347ebf5ce0a7d7.tar.zst
LiterateLB-8691f6f7306914d8fc9d5afc8a347ebf5ce0a7d7.zip
Replace InitializeO by memset
Diffstat (limited to 'tangle/benchmark-ldc.cu')
-rw-r--r--tangle/benchmark-ldc.cu8
1 files changed, 0 insertions, 8 deletions
diff --git a/tangle/benchmark-ldc.cu b/tangle/benchmark-ldc.cu
index 2443afe..4de0ae5 100644
--- a/tangle/benchmark-ldc.cu
+++ b/tangle/benchmark-ldc.cu
@@ -30,14 +30,6 @@ void simulate(descriptor::Cuboid<DESCRIPTOR> cuboid, std::size_t nStep) {
auto box_mask = materials.mask_of_material(2);
auto lid_mask = materials.mask_of_material(3);
- auto bulk_cells = materials.list_of_material(1);
- auto box_cells = materials.list_of_material(2);
- auto lid_cells = materials.list_of_material(3);
-
- lattice.template apply<InitializeO>(bulk_cells);
- lattice.template apply<InitializeO>(box_cells);
- lattice.template apply<InitializeO>(lid_cells);
-
cudaDeviceSynchronize();
for (std::size_t iStep=0; iStep < 100; ++iStep) {