MCPcopy Create free account
hub / github.com/NVIDIA/DALI / test_simple_arithm

Function test_simple_arithm

dali/test/python/test_gpu_python_function_operator.py:67–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65
66
67def test_simple_arithm():
68 validate_cpu_vs_gpu(arrays_arithmetic, arrays_arithmetic, num_outputs=2)
69
70
71square_diff_kernel = cupy.ElementwiseKernel("T x, T y", "T z", "z = x*x - y*y", "square_diff")

Callers

nothing calls this directly

Calls 1

validate_cpu_vs_gpuFunction · 0.85

Tested by

no test coverage detected