Re: [eigen] OpenMP compile error |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] OpenMP compile error
- From: Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
- Date: Tue, 1 Jun 2010 09:23:15 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=7ks8HN9khf3tnVRPWBL+ddxqFfbFLEAIggNvLq5k/iE=; b=GWdtSJ2Tk83LsRCoq8N4FXpHqKJ6vWy/GM57fyM8nq3iVs3eVX2seP2eYD5SDtpXAC f+SBUBGA+B44oIgraukW/54y5ssWfOtPpYQkkHSJofi6x/jgC/Jf9RyZxTjTUUFaQGsc 3VGMfoMzHzpKlvxJdlbHd12ZZ6H05QeL5/obs=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=qk3YATi0ZXWGGA0vt0ne3ly+CkBMHnCRF3WvmsDEvDQIKU/oBrgx1Ewgfy98Sowadd A8p1ICYWt4p7TmdHwS91Lj5uMivLlWUJD+sAYf1PsvyWXL/JUUMwvOdo+R9KmmzVAm7F mIWvR4ixhT3OGdnHikx1O1NV6wsKLuSUY8Ans=
Thanks a lot, pushed.
I confirm -fopenmp was not compiling anymore, I hadn't tested it.
Benoit
2010/6/1 Trevor Irons <trevorirons@xxxxxxxxx>:
> With the latest changes to index I'm getting a compile error with OpenMP. I
> think this small patch fixes the problem, GemMParallelInfo, in Parallelizer,
> needed the Index template parameter.
>
> Before:
> GemmParallelInfo<BlockBScalar>* info = new
> GemmParallelInfo<BlockBScalar>[threads];
>
> After:
> GemmParallelInfo<BlockBScalar,Index>* info = new
> GemmParallelInfo<BlockBScalar,Index>[threads];
>
> -Trevor
>
>