Skip to content
Merged
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 benchmarks/triton_kernels_benchmark/benchmark_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def format_of(ty):
"int8_t": "b",
"int16_t": "h",
"int32_t": "i",
"int64_t": "l",
"int64_t": "L",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From python docs:

L ([int](https://docs.python.org/3/library/functions.html#int)) [long long]
Convert a Python integer to a C long long.

L ~ long long int at least 64 bits

"uint8_t": "B",
"uint16_t": "H",
"uint32_t": "I",
Expand Down
2 changes: 1 addition & 1 deletion third_party/amd/backend/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def format_of(ty):
"int8_t": "b",
"int16_t": "h",
"int32_t": "i",
"int64_t": "l",
"int64_t": "L",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corresponding change in the upstream: triton-lang/triton@390e27f

"uint8_t": "B",
"uint16_t": "H",
"uint32_t": "I",
Expand Down