Giter Site home page Giter Site logo

cuda's People

Contributors

frroberts avatar galfthan avatar samiilvonen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cuda's Issues

error: cannot pass an argument with a user-provided copy-constructor to a device-side kernel launch

When compiling the dynamic mandelbrot example, I get the following error:

[0] % make WRITE_PNG=no
nvcc -O3 -arch=sm_35 -DSKIP_PNG_WRITING --relocatable-device-code=true \
	-Xcompiler -Wall -Xcompiler -fopenmp mandelbrot.cu pngwriter.o -o mandelbrot -lpng
mandelbrot.cu(178): error: cannot pass an argument with a user-provided copy-constructor to a device-side kernel launch

mandelbrot.cu(178): error: cannot pass an argument with a user-provided copy-constructor to a device-side kernel launch

mandelbrot.cu(184): error: cannot pass an argument with a user-provided copy-constructor to a device-side kernel launch

mandelbrot.cu(184): error: cannot pass an argument with a user-provided copy-constructor to a device-side kernel launch

4 errors detected in the compilation of "/tmp/tmpxft_00000c38_00000000-8_mandelbrot.cpp1.ii".
Makefile:14: recipe for target 'mandelbrot' failed
make: *** [mandelbrot] Error 1

My system specs follow:

  • GPU: TITAN X
  • NVIDIA Driver: 396.37
  • CUDA 9.2.148
  • OS: Ubuntu 16.04 LTS with kernel: 4.4.0-130-generic

Kernel optimization exercise freezes system

When I execute the profiling command nvprof -f --analysis-metrics -o metrics.nvvp ./a.out of the kernel optimization exercise, my system simply freezes. The first time this happened, the system simply became unresponsive and disconnected (I was on a remote connection). The second time it happened, I got logged out (i.e. the system was still operational).

My configuration:

  • GPU: TITAN X
  • NVIDIA drivers: 396.37
  • CUDA version: V9.2.148
  • OS: Ubuntu 16.04.4 LTS with the 4.4.0-130-generic kernel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.