Skip to content

Commit

Permalink
more tuning
Browse files Browse the repository at this point in the history
  • Loading branch information
lehner committed Oct 26, 2023
1 parent 199b9c5 commit dffdcce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/cgpt/lib/stencil/tensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ class cgpt_stencil_tensor : public cgpt_stencil_tensor_base {
}

//std::cout << GridLogMessage<< "Group " << osites0 << " to " << osites1 << " has oblocks " << oblocks << " and extra " << osites_extra << " from " << osites_extra_start << " compare to " << osites << std::endl;

#ifdef GRID_HAS_ACCELERATOR
#define MAP_INDEX(x,ss) ss
int coffset = 0;
Expand Down
2 changes: 1 addition & 1 deletion lib/gpt/core/local_stencil/tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, lat, points, code, segments, local=1):
lat.v_obj[0], lat.grid.obj, points, self.code, self.segments, local
)
self.osites_per_instruction = 4
self.osites_per_cache_block = 4096
self.osites_per_cache_block = lat.grid.gsites

def __call__(self, *fields):
cgpt.stencil_tensor_execute(self.obj, list(fields),
Expand Down

0 comments on commit dffdcce

Please sign in to comment.