Commit 4c9adc0
committed
Fix hcdnnSetTensorNdDescriptor parameter order
Remove HCDNN_TENSOR_NCHW parameter from all three hcdnnSetTensorNdDescriptor calls.
Unlike hcdnnSetTensor4dDescriptor, hcdnnSetTensorNdDescriptor follows cuDNN
conventions and only takes (descriptor, dataType, nbDims, dims[], strides[])
without a format parameter.1 parent 13316df commit 4c9adc0
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
| |||
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
124 | | - | |
125 | 123 | | |
126 | 124 | | |
127 | 125 | | |
| |||
136 | 134 | | |
137 | 135 | | |
138 | 136 | | |
139 | | - | |
140 | 137 | | |
141 | 138 | | |
142 | 139 | | |
| |||
0 commit comments