Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] StarPU 1.2.0 not working with CUDA 8 and Ubuntu

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] StarPU 1.2.0 not working with CUDA 8 and Ubuntu


Chronologique Discussions 
  • From: Gabriel Gazolla <gabrielgazolla@gmail.com>
  • To: Samuel Thibault <samuel.thibault@inria.fr>, starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] StarPU 1.2.0 not working with CUDA 8 and Ubuntu
  • Date: Tue, 7 Feb 2017 00:36:22 -0200
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=gabrielgazolla@gmail.com; spf=Pass smtp.mailfrom=gabrielgazolla@gmail.com; spf=None smtp.helo=postmaster@mail-yw0-f177.google.com
  • Ironport-phdr: 9a23:NpDxchcd24m0/6Fka3LfS0cClGMj4u6mDksu8pMizoh2WeGdxcW5YB7h7PlgxGXEQZ/co6odzbGH7+a/CSdcvt6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52Ixi6twfcu8oZjYZtKKs61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzocOjUn7G/YlNB/jKNDoBKguRN/xZLUYJqIP/Z6Z6/RYM8WSXZEUstXSidPAJ6zb5EXAuobP+lYoYnzqVUNoxWjGwejGPjiyjpUinLsx6A2z/gtHAPA0Qc9H9wOqnPUrNDtOakTS++617PIzTTdYPNSxDzz6ZLHcxEmofGIWbJ/a9faxE4gFwzflVqQs43lMC2R1uQCqWea7u1gVeari2E9sAxxrT2vyd0tionNnI4a1lfE9SBgzYszONa2Rkl7Ydu+H5tRsSGXL5d2Q80jQ2F0pCY11KcGtYSncygNzZQqwQPUZf+fc4WQ/B7vSOKcLS17iX9lYr6zmhe//VW6xuHhVMS50lBHpTdfnNbWrHACzRnT59CHSvRj+keh3i6C1wXJ5eFFJUA4jKraKpA9zrIpmJofrEbOEy3slEX5i6+WcUok+uy25Oj9frrmoZqcO5d1igH4LKsuhtSyDfokPgUKRWSW+uSx2Kf+8UD4XblGlOA6n6vbvZzCIMQUvK+5Awtb0oY57Ba/Ci+r0NsCknYcNlJFeQyIj4zmO17UIfH4CvO/g1C2nzpwyPDGO6fuApTJLnTZjLjherN951ZGyAUv1dBf+45UCrYZLfLoRk/+rsbYDgckMwCt3unoFst92Z0aWW+UBq+ZMbjSsUOT5u41LOmMaogVuCzyK/c7/fLujHk5mUUcfaazx5cXZmq4TbxaJBCiaH/xj9NJLWcLtAMjSPCi3EaLVCNeYzCuX6M27yw/FKqnC53CT8ajmurFlDynF4dOeyVKB06BFV/sdp6YQLEDZiWILcInkzoeVLHnRZVy7xy2sB7GzO9oJ+DO+yAcupvx09xx7sXckBgz8Xp/CMHO/XuKSjRbl2kSRjIylI92s0t5zl7LhadxieZZGNhc7uFOVgMzHZHZxu1+Tdv1X1SSLZ+yVF+6T4D+UnkKRdUrzopLOh4lFg==
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

Hello Samuel,

Sorry for the huge delay, I was on vacation and after that forgot to answer the email for you, was using CUDA 7.5 so I didn`t need to worry about this issue, but now I need to use StarPU on CUDA 8...

Attached on this email are the files you requested:

- configure output with verbose enabled
- make check output
- test.c software you sent me to test and its output
- starpumachinedisplay output is also attached.

Tell me if you need me to do any other tests...

I did this test on a machine using Ubuntu 14.04 LTS and CUDA 8. Cuda 7.5 everything works fine, but CUDA 8 dont, I am using starpu 1.2.0 release of 25.08.2016.

Hope to hear back from you soon,

Thanks,

Joao Gazolla

On Wed, Nov 23, 2016 at 4:50 PM, Samuel Thibault <samuel.thibault@inria.fr> wrote:
Gabriel Gazolla, on Wed 23 Nov 2016 16:38:24 -0200, wrote:
> If you try to compile StarPU 1.2 with CUDA 8 probably you will receive a lot of
> warnings about sm_20. Did you notice that?

Yes. It's "funny" in that we don't request that architecture at all...

It seems like nvcc just always emit that warning unless we explicitly
request for a more recent architecture... But then if we request for an
explicit more recent architecture, later on it'll become obsolete and
that'll turn into an actual error... I guess I'll just disable the
warning for releases.

Samuel


Attachment: configure, verbose enabled
Description: Binary data

Attachment: makeCheck
Description: Binary data

driver version 8000
runtime version 8000

CUDA0
GeForce GTX 670MX
2.939 GB
5 MP

#include <stdio.h>
#include <cuda.h>
#include <cuda_runtime.h>

int main(void) {
	int n, i, version;
	cudaError_t err;

	err = cudaGetDeviceCount(&n);
	if (err)
	{
		fprintf(stderr,"cuda error %d\n", err);
		exit(1);
	}
	cudaDriverGetVersion(&version);
	printf("driver version %d\n", version);
	cudaRuntimeGetVersion(&version);
	printf("runtime version %d\n", version);
	printf("\n");

	for (i = 0; i < n; i++) {
		struct cudaDeviceProp props;
		printf("CUDA%d\n", i);
		err = cudaGetDeviceProperties(&props, i);
		if (err)
		{
			fprintf(stderr,"cuda error %d\n", err);
			continue;
		}
		printf("%s\n", props.name);
		printf("%0.3f GB\n", (float) props.totalGlobalMem / (1<<30));
		printf("%u MP\n", props.multiProcessorCount);
		printf("\n");
	}
	return 0;
}

Attachment: starPUMachineDisplayOUTPUT
Description: Binary data




Archives gérées par MHonArc 2.6.19+.

Haut de le page