Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python/flydsl/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2025 FlyDSL Project Contributors

_BASE_VERSION = "0.1.2"
_BASE_VERSION = "0.1.3"

# FFM simulator compatibility shim (no-op outside simulator sessions).
from ._compat import _maybe_preload_system_comgr # noqa: E402
Expand Down
2 changes: 2 additions & 0 deletions python/flydsl/expr/primitive.py
Original file line number Diff line number Diff line change
Expand Up @@ -694,6 +694,8 @@ def make_copy_atom(copy_op_type, elem_type, loc=None, ip=None):
def atom_set_value(atom, field, value, loc=None, ip=None):
if isinstance(field, IntEnum):
field = str(field)
if isinstance(field, str):
field = ir.StringAttr.get(field)
return fly.atom_set_value(atom, field, value, loc=loc, ip=ip)


Expand Down
6 changes: 3 additions & 3 deletions python/flydsl/expr/rocdl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
_ods_wmma_scale_f32_16x16x128_f8f6f4 = globals().get("wmma_scale_f32_16x16x128_f8f6f4", None)
_ods_wmma_scale_f32_32x16x128_f4 = globals().get("wmma_scale_f32_32x16x128_f4", None)
_ods_wave_id = wave_id # ODS: wave_id(res, ...) -> i32
_ods_cluster_workgroup_id_x = cluster_workgroup_id_x
_ods_cluster_workgroup_id_y = cluster_workgroup_id_y
_ods_cluster_workgroup_id_z = cluster_workgroup_id_z
_ods_cluster_workgroup_id_x = globals().get("cluster_workgroup_id_x", None)
_ods_cluster_workgroup_id_y = globals().get("cluster_workgroup_id_y", None)
_ods_cluster_workgroup_id_z = globals().get("cluster_workgroup_id_z", None)
_ods_cluster_load_async_to_lds_b8 = cluster_load_async_to_lds_b8
_ods_cluster_load_async_to_lds_b32 = cluster_load_async_to_lds_b32
_ods_cluster_load_async_to_lds_b64 = cluster_load_async_to_lds_b64
Expand Down
Loading