MCPcopy Create free account
hub / github.com/NVIDIA/cuda-tile / get_integer_overflow_attr

Function get_integer_overflow_attr

python/cuda_tile/dialects/cuda_tile_ops.py:404–411  ·  view source on GitHub ↗

Convert an enum value to the corresponding IntegerOverflowAttr.

(
    overflow: IntegerOverflow, context: Optional[Context] = None
)

Source from the content-addressed store, hash-verified

402
403
404def get_integer_overflow_attr(
405 overflow: IntegerOverflow, context: Optional[Context] = None
406) -> IntegerOverflowAttr:
407 """
408 Convert an enum value to the corresponding IntegerOverflowAttr.
409 """
410
411 return IntegerOverflowAttr.get(overflow.value, context)
412
413
414def get_comparison_predicate_attr(

Callers 3

_addiFunction · 0.85
negiFunction · 0.85
trunciFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected