numba-dpex
numba-dpex copied to clipboard
Evaluate dpnp.hypot support on GPU's
Do we support dpnp.hypot on GPUs? Is there instruction generated for hypot and correctly lowered to SPIR-V. These code was commented out in mathdecl.py:
# class Math_hypot(ConcreteTemplate):
# key = math.hypot
# cases = [
# signature(types.float64, types.int64, types.int64),
# signature(types.float64, types.uint64, types.uint64),
# signature(types.float32, types.float32, types.float32),
# signature(types.float64, types.float64, types.float64),
# ]