git: 3e43ae150293 - main - graphics/oidn: Update 2.0.0 → 2.0.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 06 Jul 2023 04:05:18 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=3e43ae1502939d6beaf5bf3b8933a532638ebf0c commit 3e43ae1502939d6beaf5bf3b8933a532638ebf0c Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-06 04:05:01 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-06 04:05:14 +0000 graphics/oidn: Update 2.0.0 → 2.0.1 Reported by: portscout --- graphics/oidn/Makefile | 2 +- graphics/oidn/distinfo | 6 +++--- graphics/oidn/files/patch-core_thread.cpp | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/graphics/oidn/Makefile b/graphics/oidn/Makefile index 2098e2c26871..6dafa2d4f350 100644 --- a/graphics/oidn/Makefile +++ b/graphics/oidn/Makefile @@ -1,6 +1,6 @@ PORTNAME= oidn DISTVERSIONPREFIX= v -DISTVERSION= 2.0.0 +DISTVERSION= 2.0.1 CATEGORIES= graphics MASTER_SITES= http://freebsd.org/:weights # bogus URL to make the framework happy, the fetch uses Git URL below DISTFILES= ${PORTNAME}-weights-${WEIGHTS_GIT_HASH}${EXTRACT_SUFX}:weights diff --git a/graphics/oidn/distinfo b/graphics/oidn/distinfo index 0bbbbe2c0d70..76affd064adb 100644 --- a/graphics/oidn/distinfo +++ b/graphics/oidn/distinfo @@ -1,8 +1,8 @@ -TIMESTAMP = 1685034213 +TIMESTAMP = 1688605607 SHA256 (oidn-weights-4322c25e25a05584f65da1a4be5cef40a4b2e90b.tar.gz) = ea9bd87ea429b0e64cc1ba62875ad5c4882e476224f594f4f559f60b59e3b770 SIZE (oidn-weights-4322c25e25a05584f65da1a4be5cef40a4b2e90b.tar.gz) = 20605602 -SHA256 (OpenImageDenoise-oidn-v2.0.0_GH0.tar.gz) = 81eea9c36b446183ba67f8cb8e435bcc33b5b55fd83bbad67615c219560ee4a7 -SIZE (OpenImageDenoise-oidn-v2.0.0_GH0.tar.gz) = 3580694 +SHA256 (OpenImageDenoise-oidn-v2.0.1_GH0.tar.gz) = 0d4e259d7e6aead0f22825410c4fe65fac7668af5a03e56b3255472aac247e9e +SIZE (OpenImageDenoise-oidn-v2.0.1_GH0.tar.gz) = 3581346 SHA256 (OpenImageDenoise-mkl-dnn-9bea36e_GH0.tar.gz) = b4626c0cf65e64ec16d93f8af7941bccd62385da5ea16fd81de5d26b7cb10f71 SIZE (OpenImageDenoise-mkl-dnn-9bea36e_GH0.tar.gz) = 7191010 SHA256 (ROCmSoftwarePlatform-composable_kernel-e85178b_GH0.tar.gz) = b870ae0dcac8083a239814fff673a83ddd5abfc477b4320af08a2232cd42849c diff --git a/graphics/oidn/files/patch-core_thread.cpp b/graphics/oidn/files/patch-core_thread.cpp index 52360dbd8228..9ed86331bfa6 100644 --- a/graphics/oidn/files/patch-core_thread.cpp +++ b/graphics/oidn/files/patch-core_thread.cpp @@ -1,4 +1,4 @@ ---- core/thread.cpp.orig 2023-05-24 17:03:47 UTC +--- core/thread.cpp.orig 2023-06-24 12:06:59 UTC +++ core/thread.cpp @@ -1,6 +1,8 @@ // Copyright 2009 Intel Corporation @@ -10,7 +10,7 @@ #pragma warning (disable : 4146) // unary minus operator applied to unsigned type, result still unsigned #endif @@ -120,7 +122,7 @@ OIDN_NAMESPACE_BEGIN - OIDN_WARNING("SetThreadGroupAffinity failed"); + printWarning("SetThreadGroupAffinity failed"); } -#elif defined(__linux__) @@ -34,7 +34,7 @@ - if (pthread_getaffinity_np(thread, sizeof(cpu_set_t), &oldAffinities[threadIndex]) != 0) + if (pthread_getaffinity_np(thread, sizeof(cpuset_t), &oldAffinities[threadIndex]) != 0) { - OIDN_WARNING("pthread_getaffinity_np failed"); + printWarning("pthread_getaffinity_np failed"); oldAffinities[threadIndex] = affinities[threadIndex]; @@ -190,7 +192,7 @@ OIDN_NAMESPACE_BEGIN } @@ -42,7 +42,7 @@ // Set the new affinity - if (pthread_setaffinity_np(thread, sizeof(cpu_set_t), &affinities[threadIndex]) != 0) + if (pthread_setaffinity_np(thread, sizeof(cpuset_t), &affinities[threadIndex]) != 0) - OIDN_WARNING("pthread_setaffinity_np failed"); + printWarning("pthread_setaffinity_np failed"); } @@ -202,7 +204,7 @@ OIDN_NAMESPACE_BEGIN @@ -51,6 +51,6 @@ // Restore the original affinity - if (pthread_setaffinity_np(thread, sizeof(cpu_set_t), &oldAffinities[threadIndex]) != 0) + if (pthread_setaffinity_np(thread, sizeof(cpuset_t), &oldAffinities[threadIndex]) != 0) - OIDN_WARNING("pthread_setaffinity_np failed"); + printWarning("pthread_setaffinity_np failed"); }