(fun, synchronize)
| 207 | |
| 208 | |
| 209 | def cupy_wrapper(fun, synchronize): |
| 210 | if synchronize: |
| 211 | return lambda in1, in2: cupy_adapter_sync(fun, in1, in2) |
| 212 | else: |
| 213 | return lambda in1, in2: cupy_adapter(fun, in1, in2) |
| 214 | |
| 215 | |
| 216 | def cupy_compare(fun, synchronize, pre1, pre2, post1, post2): |
no test coverage detected