Objet : Developers list for StarPU
Archives de la liste
- From: Samuel Thibault <samuel.thibault@inria.fr>
- To: Gabriel Gazolla <gabrielgazolla@gmail.com>
- Cc: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] StarPU 1.2.0 not working with CUDA 8 and Ubuntu
- Date: Wed, 23 Nov 2016 19:05:09 +0100
- 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,
Gabriel Gazolla, on Wed 16 Nov 2016 10:23:41 -0200, wrote:
> I am having problems on making work StarPU 1.2.0 and CUDA 8 on Ubuntu 14.04
> or
> 16.04.
I've just tried starpu 1.2.0 on CUDA 8 on Ubuntu 16.10 (I didn't look
for backports for 14.04 or 16.04), and it works just fine, so we really
need the debugging details I have asked for in my previous mail.
Also, could you try the attached trivial program, to make sure that the
CUDA driver basically works?
Samuel
#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;
}
- [Starpu-devel] StarPU 1.2.0 not working with CUDA 8 and Ubuntu, Gabriel Gazolla, 16/11/2016
- Re: [Starpu-devel] StarPU 1.2.0 not working with CUDA 8 and Ubuntu, Samuel Thibault, 22/11/2016
- Re: [Starpu-devel] StarPU 1.2.0 not working with CUDA 8 and Ubuntu, Samuel Thibault, 23/11/2016
- Re: [Starpu-devel] StarPU 1.2.0 not working with CUDA 8 and Ubuntu, Gabriel Gazolla, 23/11/2016
- Re: [Starpu-devel] StarPU 1.2.0 not working with CUDA 8 and Ubuntu, Samuel Thibault, 23/11/2016
- Re: [Starpu-devel] StarPU 1.2.0 not working with CUDA 8 and Ubuntu, Gabriel Gazolla, 23/11/2016
Archives gérées par MHonArc 2.6.19+.