tenstorrent / tt-umd

User-Mode Driver for Tenstorrent hardware
Apache License 2.0
6 stars 3 forks source link

#12405: Refactor to use strong types #46

Open patrickroberts opened 1 week ago

patrickroberts commented 1 week ago

Ticket

https://github.com/tenstorrent/tt-metal/issues/12405

Problem description

Aliases of integral types are being used interchangeably with the integral types, allowing for erroneous implicit conversions.

What's changed

Refactor to use enum class and make any intentional conversions explicit.