Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9229585
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T05:36:30+00:00 2026-06-18T05:36:30+00:00

I have installed a Nvidia graphic card ( GeForce GT 640 M) and CUDA

  • 0

I have installed a Nvidia graphic card ( GeForce GT 640 M) and CUDA 5.0. Then I installed the gputools package in R. The package installs perfectly but when I try to use a function in it, it gives me an invalid device function error.

require("gputools")
mat = matrix(runif(25),5,5)
gpuCor(mat)
Error in gpuCor(mat) : invalid device function 
In addition: Warning message:
In gpuCor(mat) : PMCC function : kernel finish and memcpy

I have ensured that the cuda samples work fine and my own cuda scripts also work properly. The gpuMatMult function works in the package(I checked the source file and it does not have any device function in it) but functions with device functions is going for a toss.

Following are my system details
OS – Ubuntu 12.04
Cuda – CUDA – 5.0
Graphic Card – NVIDIA GEFORCE GT 640 M
RAM – 12 GB

Anyone else faced this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T05:36:31+00:00Added an answer on June 18, 2026 at 5:36 am

    I have found a work around for this. The problem was in the package’s makefile, the compilation architectures are passed to the compiler using (arch_compute = sm_10) where the author of the package has put in a list of architectures that should take care of most of the devices. GeForce 640 M for some reason is not there in that list. I removed the whole list and did not pass any architecture arguments and the package installed fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed my dependencies using bundle package Then transferred them to the offline
Anyone have an idea why this is? I also installed the NVIDIA CUDA SDK
I have installed 3.3.0 python installer in windows. Then I want to install MySQLdb.
I installed cuda 5 on my Ubuntu 12.10 64 bits. I have a GTX
I have installed the new 3.0 SDK, but when I start up Xcode, I
I have installed gitosis, but i have strange thing when i'm working with repos.
I have a NVida graphic card and I would like to use it for
This is my pycuda code for rotation.I have installed the latest cuda drivers and
I have installed both of above, but they are installed as two completely separate
Have installed Homebrew and have downloaded git, but it won't link. Get this error

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.