From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dmta1011.nifty.com (mta-snd01008.nifty.com [106.153.227.40]) by sourceware.org (Postfix) with ESMTPS id 8919B3858D38 for ; Wed, 3 Jan 2024 12:42:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 8919B3858D38 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 8919B3858D38 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=106.153.227.40 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704285742; cv=none; b=VJSgKj1svkHzTZFEXVTJJLPf9aOMLUcV7NLAwVD5Mk/HakhhYpUp6dMow9un2uocU0U0BlpHuzVzA+HXS/yFASUgKoV2cGp+NVa6FbjtcSdZjpTSKhP3pwDN23JXRZKP7n6KhxW7u0ibuo44g/xbWuitzLl6+SedUwpOFuWExWk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1704285742; c=relaxed/simple; bh=8+tIs7f6pq4kJvfU4zevs0MTqqu0HVRSXXlGaJ3u9Aw=; h=Date:From:To:Subject:Message-Id:Mime-Version; b=BhdEWeD/czzZ2octWER/hzJWbMJ/+aQ+3zJPhhmYLqB2rzZQjOtclQURYMBxKE2xrIFtgYnVnoeAkWK5+zeweVX1bAA33NDMOKKgKF8T4cxSxprxYHrDjJrtw2fhoR00g+rBvNn2T+Q5OcSHPLgYfM16hXv7Dzb7FiYHFL+l+aE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from HP-Z230 by dmta1011.nifty.com with ESMTP id <20240103124217378.WTBL.3070.HP-Z230@nifty.com> for ; Wed, 3 Jan 2024 21:42:17 +0900 Date: Wed, 3 Jan 2024 21:42:17 +0900 From: Takashi Yano To: cygwin-apps@cygwin.com Subject: Re: [ITA] pocl Message-Id: <20240103214217.a7fb34f0158e691539204bed@nifty.ne.jp> In-Reply-To: <19a0d8be-a17e-438f-bf3b-71ddd7cafee9@SystematicSW.ab.ca> References: <20240103141412.d00b68976af90778eb7e7c03@nifty.ne.jp> <20240103142533.ee77d69e3a93cea0275cfd00@nifty.ne.jp> <90ac340c-236b-4ec2-b304-37564da46320@gmail.com> <20240103182954.954d9470d93c013e2b73a67a@nifty.ne.jp> <20240103210007.548250af5b62f082bc441d8c@nifty.ne.jp> <19a0d8be-a17e-438f-bf3b-71ddd7cafee9@SystematicSW.ab.ca> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, 3 Jan 2024 05:26:43 -0700 Brian Inglis wrote: > On 2024-01-03 05:00, Takashi Yano via Cygwin-apps wrote: > > On Wed, 3 Jan 2024 04:38:02 -0700 > > Brian Inglis wrote: > >> On 2024-01-03 02:29, Takashi Yano via Cygwin-apps wrote: > >>> On Wed, 3 Jan 2024 08:54:17 +0100 > >>> Marco Atzeri wrote: > >>>> On 03/01/2024 06:25, Takashi Yano via Cygwin-apps wrote: > >>>>> On Wed, 3 Jan 2024 14:14:12 +0900 > >>>>> Takashi Yano via Cygwin-apps wrote: > >>>>>> I'd like to adopt the pocl package. > >>>>>> - Update to latest upstream release. > >> > >>>> $ git diff |grep "^+" > >>>> +++ b/cygwin-pkg-maint > >>>> +pocl Takashi Yano > >> > >>>>> Sorry, the latest upstream release is 5.0 however, 4.0 and later > >>>>> cannot be built in current cygwin because LLVM package is old. > >>>>> This update is up to 3.1. > >> > >>>>>> - Enable CUDA support. > >> > >>>> Curiosity, how do we support CUDA on Cygwin ? > >> > >>> nvidia cuda toolkit is used in build stage of user programs. > >>> Although this is not very desirable for cygwin package, I thought > >>> that the advantage of being able to use the GPU was greater than > >>> the disadvantage. > >>> However, on the second thought, cuda support should be a separeted > >>> package from the base package, and suggest installing cuda toolkit > >>> in the install stage of of that package. > >>> Let me consider a bit. If you have any idea, please let me know. > >> > >> Please note CUDA is Nvidia proprietary closed source - I do not think we can or > >> should touch it when OpenCL 3+ supports Nvidia devices. > >> Fedora does not support CUDA although others do in their non-free "sources". > > > > We do not touch CUDA itself or distribute its binaries, but just use binaries > > distributed by NVIDIA. Source code in pocl is not NVIDIA proprietary. In that > > sense, cygwin itself uses microsoft proprietary closed source modules. > > Cygwin provides and runs open source tools, headers, and libraries to perform > the builds and execution, calling proprietary interfaces to support POSIX. I meant cygwin1.dll calls kernel32.dll which is not open source just like pocl with CUDA support calls nvcc.exe. -- Takashi Yano