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 7196861
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:51:30+00:00 2026-05-28T20:51:30+00:00

I have a CUDA compute capability 2.0 graphics card and the CUDA Toolkit 4.0,

  • 0

I have a CUDA compute capability 2.0 graphics card and the CUDA Toolkit 4.0, and I want to make use of the new tex2DLayered texture lookup function. However, the size of my array (1280 x 960 x 200 layers, unsigned short) is too large to allocate a cuda3DArray of this size, so I want to bind pitched linear memory to the texture instead. However, I cannot find any description of how to do this in any of the CUDA documentation or SDK examples, including the Simple Layered Texture example, which uses a cuda3DArray rather than linear memory. I’ve also searched online, without success.

Can anyone either provide the code necessary to bind the texture, or a link to some instructions on how to do this? Thanks.

  • 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-28T20:51:31+00:00Added an answer on May 28, 2026 at 8:51 pm

    Section 3.2.10.1.5 of the CUDA C Programming Guide v4.0 states that:

    “A layered texture can only be bound to a CUDA array created by calling cudaMalloc3DArray() with the cudaArrayLayered flag (and a height of zero for one-dimensional layered texture).”

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

Sidebar

Related Questions

I have a NVIDIA GTX 570 compute capability 2.0 running cuda-4.0. The deviceQuery executable
I have difficulties to use complex numbers in cuda,pycuda. I have this in C:
I have a GTX 570 (Fermi architecture) which is of compute Capability 2.0. I
I have CUDA 2.1 installed on my machine and it has a graphic card
CUDA experts, if I have defined in the host code a new type: struct
I have a re-useable function in some CUDA code that needs to be called
I have written a CUDA function that calculates a convex envelop in a set
I have these template functions for use inline on device with cuda template <class
I have a data object that looks like this: { 'node-16': { 'tags': ['cuda'],
In a CUDA kernel, I have code similar to the following. I am trying

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.