From owner-freebsd-hackers@freebsd.org Sat Jul 1 18:04:35 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6580CD8F627 for ; Sat, 1 Jul 2017 18:04:35 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5679B6A2B6 for ; Sat, 1 Jul 2017 18:04:35 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-6-186-56.hsd1.ca.comcast.net [24.6.186.56]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id v61I4SsN043763 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Sat, 1 Jul 2017 11:04:29 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-6-186-56.hsd1.ca.comcast.net [24.6.186.56] claimed to be yv.noip.me To: Freebsd hackers list From: Yuri Subject: CUDA and FreeBSD: can linux kernel module be ported to FreeBSD? Message-ID: Date: Sat, 1 Jul 2017 11:04:27 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2017 18:04:35 -0000 NVidia CUDA toolkit (https://developer.nvidia.com/cuda-downloads) contains a lot of rpms. The kernel module rpm nvidia-kmod-375.26-2.el7.x86_64.rpm actually contains linux kernel module sources. The rest of rpms contain binary userland utilities. So if somebody could port those kernel sources into the FreeBSD kernel module, CUDA could be used over the linux emulation level? Is this true, or there are some other hurdles? (I didn't expect to find kernel module sources when I looked, hence this question.) Yuri