(args)
| 1800 | |
| 1801 | # |
| 1802 | def GenerateConv2dOperations(args): |
| 1803 | if args.type == "simt": |
| 1804 | return GenerateConv2d_Simt(args) |
| 1805 | elif args.type == "tensorop8816": |
| 1806 | return GenerateConv2d_TensorOp_8816(args) |
| 1807 | else: |
| 1808 | assert args.type == "tensorop8832", ( |
| 1809 | "operation conv2d only support" |
| 1810 | "simt, tensorop8816 and tensorop8832. (got:{})".format(args.type) |
| 1811 | ) |
| 1812 | return GenerateConv2d_TensorOp_8832(args) |
| 1813 | |
| 1814 | |
| 1815 | def GenerateDeconvOperations(args): |
no test coverage detected