numba-dpex icon indicating copy to clipboard operation
numba-dpex copied to clipboard

Evaluate dpnp.hypot support on GPU's

Open ZzEeKkAa opened this issue 1 year ago • 0 comments

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),
#     ]

ZzEeKkAa avatar Oct 17 '23 18:10 ZzEeKkAa