From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28550 invoked by alias); 29 Aug 2016 14:34:45 -0000 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: fortran-owner@gcc.gnu.org Received: (qmail 28537 invoked by uid 89); 29 Aug 2016 14:34:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 29 Aug 2016 14:34:35 +0000 Received: from svr-orw-fem-05.mgc.mentorg.com ([147.34.97.43]) by relay1.mentorg.com with esmtp id 1beNdw-0001L7-Ul from Cesar_Philippidis@mentor.com ; Mon, 29 Aug 2016 07:34:32 -0700 Received: from [127.0.0.1] (147.34.91.1) by svr-orw-fem-05.mgc.mentorg.com (147.34.97.43) with Microsoft SMTP Server id 14.3.224.2; Mon, 29 Aug 2016 07:34:32 -0700 Subject: Re: OpenACC-Library-Interoperability To: Vikram Singh , Thomas Schwinge References: <8737qn5rd4.fsf@kepler.schwinge.homeip.net> <8760vj45bi.fsf@hertz.schwinge.homeip.net> <2b4f59d5-be38-2814-27bb-73aa7ffb4b8f@codesourcery.com> <878u0o6wwj.fsf@kepler.schwinge.homeip.net> <87inyjuw6b.fsf@kepler.schwinge.homeip.net> CC: Salvatore Filippone , =?UTF-8?Q?Vladim=c3=adr_Fuka?= , James Norris , Chung-Lin Tang , Fortran List From: Cesar Philippidis Message-ID: <5c27828e-6b7b-bdde-1fb2-0d0984e4123b@mentor.com> Date: Mon, 29 Aug 2016 14:34:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-SW-Source: 2016-08/txt/msg00177.txt.bz2 On 08/29/2016 06:58 AM, Vikram Singh wrote: > It seems to me the data type is not being correctly translated to what > DGEMM requires. Correct. Arrays in gfortran have different representations from those in c. See for instructions on how to call c functions from gfortran. I recently posted a libgomp host_data test case which calls cublas here . Cesar