Skip to content

Commit

Permalink
Fix error when syncgap=1,2 and tta is true
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiyamou committed Jun 18, 2022
1 parent a3305d1 commit 458e1c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/realcugan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -802,10 +802,10 @@ int RealCUGAN::process_se_stage0(const float* srcpR, const float* srcpG, const f
in_tile_gpu[1].create(tile_x1 - tile_x0, tile_y1 - tile_y0, CHANNELS, in_out_tile_elemsize, 1, opt.blob_vkallocator);
in_tile_gpu[2].create(tile_x1 - tile_x0, tile_y1 - tile_y0, CHANNELS, in_out_tile_elemsize, 1, opt.blob_vkallocator);
in_tile_gpu[3].create(tile_x1 - tile_x0, tile_y1 - tile_y0, CHANNELS, in_out_tile_elemsize, 1, opt.blob_vkallocator);
in_tile_gpu[4].create(tile_y1 - tile_y0, tile_x0 - tile_y0, CHANNELS, in_out_tile_elemsize, 1, opt.blob_vkallocator);
in_tile_gpu[5].create(tile_y1 - tile_y0, tile_x0 - tile_y0, CHANNELS, in_out_tile_elemsize, 1, opt.blob_vkallocator);
in_tile_gpu[6].create(tile_y1 - tile_y0, tile_x0 - tile_y0, CHANNELS, in_out_tile_elemsize, 1, opt.blob_vkallocator);
in_tile_gpu[7].create(tile_y1 - tile_y0, tile_x0 - tile_y0, CHANNELS, in_out_tile_elemsize, 1, opt.blob_vkallocator);
in_tile_gpu[4].create(tile_y1 - tile_y0, tile_x1 - tile_x0, CHANNELS, in_out_tile_elemsize, 1, opt.blob_vkallocator);
in_tile_gpu[5].create(tile_y1 - tile_y0, tile_x1 - tile_x0, CHANNELS, in_out_tile_elemsize, 1, opt.blob_vkallocator);
in_tile_gpu[6].create(tile_y1 - tile_y0, tile_x1 - tile_x0, CHANNELS, in_out_tile_elemsize, 1, opt.blob_vkallocator);
in_tile_gpu[7].create(tile_y1 - tile_y0, tile_x1 - tile_x0, CHANNELS, in_out_tile_elemsize, 1, opt.blob_vkallocator);

std::vector<ncnn::VkMat> bindings(9);
bindings[0] = in_gpu;
Expand Down

0 comments on commit 458e1c4

Please sign in to comment.