Skip to content

Commit

Permalink
Polish code gen filename (FlagOpen#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x45f authored Jan 6, 2025
1 parent 1e5204a commit 5ab2507
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/flag_gems/utils/pointwise_dynamic.py
Original file line number Diff line number Diff line change
Expand Up @@ -1236,7 +1236,7 @@ def instantiate(self, ndim):
# library, but we find generating a module simpler, since we can generating 2 functions
# the kernel and the wrapper, and the wrapper calls the kernel.
file_name = (
f"pointwise_dynamic_{self._scalar_fn_cache_key}_rank_{ndim}_"
f"pointwise_dynamic_{self._scalar_fn_cache_key}_{kernel_name}_"
f"{'1d_tile_' if self.config.prefer_1d_tile else ''}"
f"{'bptr_' if (not self.config.prefer_1d_tile and self.config.prefer_block_pointer) else ''}"
f"pid_{self.pid}.py"
Expand Down

0 comments on commit 5ab2507

Please sign in to comment.