| 119 | } |
| 120 | |
| 121 | int3 Upsample::GetGridSize() const { |
| 122 | const int grid_x = dst_[0]->Width(); |
| 123 | const int grid_y = dst_[0]->Height(); |
| 124 | const int grid_z = dst_[0]->Depth(); |
| 125 | return int3(grid_x, grid_y, grid_z); |
| 126 | } |
| 127 | |
| 128 | Status Upsample::AddToQueue(CLCommandQueue* queue) { |
| 129 | RETURN_IF_ERROR(BindArguments()); |