From nobody Mon Nov 14 06:55:45 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4N9g7P3cY4z4hG5L for ; Mon, 14 Nov 2022 06:55:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4N9g7P1c56z4Qhp for ; Mon, 14 Nov 2022 06:55:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1668408945; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KQ/AvJDm3wnVAd6MIDnYejrfvG86EFzZQ6d7WIBSKAw=; b=HjkQWuUNlNz2RxYhF1DEuRJ6S/d9AQsF8eOmacy2axhplMr6UxNej6EBJZ0QFDwHyovXw2 66GotBeiuzd6Izzt1M3V7N4xNHN4RHbHQj0o3Kivh3f5dym/FitYauQhOKLkfnPzkY1Cjy 1l96QTUzAs+63SXNqWU721qMDSQ3V4h4vcR0Pmf6GtLYdHJga+NWQcPmxdJGe2g2lTEJt7 2e5HY9RpovWQ+vwfLFrRxkYnxF289RLbx9YAmaYb1Hzd8newet2ewNFwZql7q00l7UaM5N DF/mPAdLNoLMCEY820ysUtiPI0TTzHg5h/9S/LI23ecgqrx9SBpw7lJ9iR0egA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668408945; a=rsa-sha256; cv=none; b=sgPU8cdc5kDQ60lMz/kEtlJa4lV0NEbf1PPizrxFUk39AWodhx8v96FOLh04Jh7yLfwGAT zrUZ+OpmXPmYXid7fNFHyNDGbYvR84xglzKZtD9dggvQNX4aB8wQg+/1X+3CYDvyYNu3zU 4RostUAXlkW05G9UEpN/A9rpHYG+l8aqFUGDswxuFtfDM/6wVN0ebaUj8UWTPp7ey5wCoG 5HRyEy1TsCKqYHU6PGYNiYwtKwTBsrBYcbKxO+U/yi0mrmLxtyr+W5nP/1V0MAZowSjyao RSnIIrSD7r6vqsx9Au8m421dXYgOzTEawhncPgXwCjGmo0WZulz1X+IgdNwZAw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4N9g7P0gBQzXns for ; Mon, 14 Nov 2022 06:55:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2AE6tjn6025928 for ; Mon, 14 Nov 2022 06:55:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2AE6tj3a025927 for bugs@FreeBSD.org; Mon, 14 Nov 2022 06:55:45 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 267750] omp_set_num_threads fails to set number of threads Date: Mon, 14 Nov 2022 06:55:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tamelingdaniel@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267750 Daniel Tameling changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tamelingdaniel@gmail.com --- Comment #1 from Daniel Tameling --- This is in accordance with the specification. It says: "The omp_get_num_thr= eads routine returns the number of threads in the team that is executing the parallel region to which the routine region binds. If called from the sequential part of a program, this routine returns 1." See also https://stackoverflow.com/questions/8969748/set-number-of-threads-using-omp= -set-num-threads-to-2-but-omp-get-num-threads for a similar discussion. --=20 You are receiving this mail because: You are the assignee for the bug.=