mirror of
https://github.com/nihui/rife-ncnn-vulkan
synced 2024-11-25 08:07:20 +01:00
update ncnn, allow more threads per gpu device
This commit is contained in:
parent
11ccf46248
commit
a82cf9188f
@ -144,6 +144,7 @@ cmake --build . -j 4
|
||||
| rife-v2.3 | 2.3 |
|
||||
| rife-v2.4 | 2.4 |
|
||||
| rife-v3.0 | 3.0 |
|
||||
| rife-v3.1 | 3.1 |
|
||||
|
||||
## Sample Images
|
||||
|
||||
|
@ -94,6 +94,7 @@ if(NOT USE_SYSTEM_NCNN)
|
||||
option(NCNN_INSTALL_SDK "" OFF)
|
||||
option(NCNN_PIXEL_ROTATE "" OFF)
|
||||
option(NCNN_PIXEL_AFFINE "" OFF)
|
||||
option(NCNN_PIXEL_DRAWING "" OFF)
|
||||
option(NCNN_VULKAN "" ON)
|
||||
option(NCNN_VULKAN_ONLINE_SPIRV "" ON)
|
||||
option(NCNN_BUILD_BENCHMARK "" OFF)
|
||||
|
@ -762,8 +762,6 @@ int main(int argc, char** argv)
|
||||
}
|
||||
else
|
||||
{
|
||||
int gpu_queue_count = ncnn::get_gpu_info(gpuid[i]).compute_queue_count();
|
||||
jobs_proc[i] = std::min(jobs_proc[i], gpu_queue_count);
|
||||
total_jobs_proc += jobs_proc[i];
|
||||
}
|
||||
}
|
||||
|
2
src/ncnn
2
src/ncnn
@ -1 +1 @@
|
||||
Subproject commit 5d6f03dbbd438319c671432ff6d98a60adf12440
|
||||
Subproject commit 1d80aa0d83ca90624947cd644584efd97b95105f
|
Loading…
Reference in New Issue
Block a user