|
|
|
@@ -26,6 +26,9 @@ MS_REG_GPU_KERNEL_ONE( |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Less, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTypeBool), |
|
|
|
BroadcastOpGpuKernel, float) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Equal, KernelAttr().AddInputAttr(kNumberTypeFloat32).AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTypeBool), |
|
|
|
BroadcastOpGpuKernel, float) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Maximum, |
|
|
|
KernelAttr().AddInputAttr(kNumberTypeFloat32).AddInputAttr(kNumberTypeFloat32).AddOutputAttr(kNumberTypeFloat32), |
|
|
|
@@ -75,6 +78,9 @@ MS_REG_GPU_KERNEL_ONE( |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Less, KernelAttr().AddInputAttr(kNumberTypeFloat16).AddInputAttr(kNumberTypeFloat16).AddOutputAttr(kNumberTypeBool), |
|
|
|
BroadcastOpGpuKernel, half) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Equal, KernelAttr().AddInputAttr(kNumberTypeFloat16).AddInputAttr(kNumberTypeFloat16).AddOutputAttr(kNumberTypeBool), |
|
|
|
BroadcastOpGpuKernel, half) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Maximum, |
|
|
|
KernelAttr().AddInputAttr(kNumberTypeFloat16).AddInputAttr(kNumberTypeFloat16).AddOutputAttr(kNumberTypeFloat16), |
|
|
|
@@ -123,6 +129,9 @@ MS_REG_GPU_KERNEL_ONE( |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Less, KernelAttr().AddInputAttr(kNumberTypeInt32).AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeBool), |
|
|
|
BroadcastOpGpuKernel, int) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Equal, KernelAttr().AddInputAttr(kNumberTypeInt32).AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeBool), |
|
|
|
BroadcastOpGpuKernel, int) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
TensorAdd, KernelAttr().AddInputAttr(kNumberTypeInt32).AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeInt32), |
|
|
|
BroadcastOpGpuKernel, int) |
|
|
|
@@ -135,6 +144,9 @@ MS_REG_GPU_KERNEL_ONE( |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Mul, KernelAttr().AddInputAttr(kNumberTypeInt32).AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeInt32), |
|
|
|
BroadcastOpGpuKernel, int) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Sub, KernelAttr().AddInputAttr(kNumberTypeInt32).AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeInt32), |
|
|
|
BroadcastOpGpuKernel, int) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
FloorDiv, KernelAttr().AddInputAttr(kNumberTypeInt32).AddInputAttr(kNumberTypeInt32).AddOutputAttr(kNumberTypeInt32), |
|
|
|
BroadcastOpGpuKernel, int) |
|
|
|
@@ -156,6 +168,9 @@ MS_REG_GPU_KERNEL_ONE( |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Less, KernelAttr().AddInputAttr(kNumberTypeInt64).AddInputAttr(kNumberTypeInt64).AddOutputAttr(kNumberTypeBool), |
|
|
|
BroadcastOpGpuKernel, int64_t) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Equal, KernelAttr().AddInputAttr(kNumberTypeInt64).AddInputAttr(kNumberTypeInt64).AddOutputAttr(kNumberTypeBool), |
|
|
|
BroadcastOpGpuKernel, int64_t) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
TensorAdd, KernelAttr().AddInputAttr(kNumberTypeInt64).AddInputAttr(kNumberTypeInt64).AddOutputAttr(kNumberTypeInt64), |
|
|
|
BroadcastOpGpuKernel, int64_t) |
|
|
|
@@ -168,6 +183,9 @@ MS_REG_GPU_KERNEL_ONE( |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Mul, KernelAttr().AddInputAttr(kNumberTypeInt64).AddInputAttr(kNumberTypeInt64).AddOutputAttr(kNumberTypeInt64), |
|
|
|
BroadcastOpGpuKernel, int64_t) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
Sub, KernelAttr().AddInputAttr(kNumberTypeInt64).AddInputAttr(kNumberTypeInt64).AddOutputAttr(kNumberTypeInt64), |
|
|
|
BroadcastOpGpuKernel, int64_t) |
|
|
|
MS_REG_GPU_KERNEL_ONE( |
|
|
|
FloorDiv, KernelAttr().AddInputAttr(kNumberTypeInt64).AddInputAttr(kNumberTypeInt64).AddOutputAttr(kNumberTypeInt64), |
|
|
|
BroadcastOpGpuKernel, int64_t) |
|
|
|
|