| 117 | } |
| 118 | |
| 119 | Status Padding::BindArguments() { |
| 120 | kernel_.ResetBindingCounter(); |
| 121 | RETURN_IF_ERROR(kernel_.SetMemoryAuto(src_[0]->GetMemoryPtr())); |
| 122 | RETURN_IF_ERROR(BindArgs(&kernel_, linked_operations_)); |
| 123 | RETURN_IF_ERROR(kernel_.SetMemoryAuto(dst_[0]->GetMemoryPtr())); |
| 124 | RETURN_IF_ERROR(kernel_.SetBytesAuto(src_[0]->GetSizeWithDepth())); |
| 125 | RETURN_IF_ERROR(kernel_.SetBytesAuto(dst_[0]->GetSizeWithDepth())); |
| 126 | RETURN_IF_ERROR(kernel_.SetBytesAuto(prepended_)); |
| 127 | return OkStatus(); |
| 128 | } |
| 129 | |
| 130 | int3 Padding::GetGridSize() const { |
| 131 | const int grid_x = dst_[0]->Width(); |
nothing calls this directly
no test coverage detected