(gpu_fun, cpu_fun, num_outputs=1)
| 55 | |
| 56 | |
| 57 | def validate_cpu_vs_gpu(gpu_fun, cpu_fun, num_outputs=1): |
| 58 | gpu_pipe = PythonFunctionPipeline(gpu_fun, "gpu", num_outputs) |
| 59 | cpu_pipe = PythonFunctionPipeline(cpu_fun, "cpu", num_outputs) |
| 60 | test_utils.compare_pipelines(gpu_pipe, cpu_pipe, BATCH_SIZE, ITERS) |
| 61 | |
| 62 | |
| 63 | def arrays_arithmetic(in1, in2): |
no test coverage detected