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

  • Home
  • SEARCH
  • 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 444733
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T21:18:00+00:00 2026-05-12T21:18:00+00:00

I am trying to call cudppSort to sort a set of keys/values. I’m using

  • 0

I am trying to call cudppSort to sort a set of keys/values. I’m using the following code to set up the sort algorithm:

CUDPPConfiguration config;
config.op = CUDPP_ADD;
config.datatype = CUDPP_UINT;
config.algorithm = CUDPP_SORT_RADIX;
config.options = CUDPP_OPTION_KEY_VALUE_PAIRS | CUDPP_OPTION_FORWARD | CUDPP_OPTION_EXCLUSIVE;

CUDPPHandle planHandle;
CUDPPResult result = cudppPlan(&planHandle, config, number_points, 1, 0);
if (CUDPP_SUCCESS != result) {
    printf("ERROR creating CUDPPPlan\n");
    exit(-1);
}

The program exits, however on the line:

CUDPPResult result = cudppPlan(&planHandle, config, number_points, 1, 0);

and prints to stdout:

Cuda error: allocScanStorage in file 'c:/the/path/to/release1.1/cudpp/src/app/scan_app.cu' in line 279 : invalid configuration argument.

I looked at the line in scan_app.cu. It is,

 CUT_CHECK_ERROR("allocScanStorage");

So apparently my configuration has an error that is causing the allocScanStorage to bomb out. There are only two calls to CUDA_SAFE_CALL in the function and I don’t see a reason why either has anything to do with the configuration.

What is wrong with my configuration?

  • 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-05-12T21:18:01+00:00Added an answer on May 12, 2026 at 9:18 pm

    So that this doesn’t sit around as an unanswered question (I’m not sure if this is the right SO etiquette but it seems like an answered question shouldn’t sit around unanswered…), I’m copying the comment I made above here as an answer since it was the solution:

    I figured this out (I’m still learning CUDA at the moment.) Because the error checking is asynchronous errors can show up in strange places if you don’t check for them from time to time. My code had caused an error before I called cudppPlan but because I didn’t check for errors the cudppPlan reported the error as if it was in cudppPlan.

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

Sidebar

Related Questions

Im trying to call if div exists with the following code. Div 1 and
Im trying to call the following code: Ext.namespace(menu); menu.menuItems = function(){ var menuItems= [{
I'm trying to call a Cocoa IBAction from Carbon code... I've set up global
Trying to call a function from another file in C with the following code:
I'm trying to call a WCF service using soap in IE8 and I can't
I am trying to call c# function from javascript the code i have tried
I'm trying to call a WCF service cross-domain using javascript, over http. I've added
While trying to call an EJB made using NETbeans (using jdk1.7) from a client
Im trying to call some windows forms code (like setting label.visible = true in
In trying to call a method on the CodeMirror javascript code editor. I'm new

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.