80564

cudaTextureObject_t compatibility with Fermi

Question:

I have implemented a kernel that process data where the input comes from an cudaTextureObject_t. To increase the throughput of my method, I call this kernel with <em>N</em> different stream objects. Therefore, I create <em>N</em> texture objects that are then passed to the different kernel calls.

This works perfectly well on GPUs with Kepler architecture. However, now I want to use this method also on a GPU with Fermi architecture, where no cudaTextureObject_t is available.

My question is as follows: Is there a way to make an abstraction based on texture references, or do I have to completely rewrite my code for the older architecture?

Answer1:

You will have to re-write your code. It isn't possible to encapsulate a texture reference inside a class or structure, nor pass a texture reference to a kernel.

Recommend

  • Android multuple camera preview
  • libgdx clickable image not working
  • LibGdx GLES2.0 cube texel stretching
  • Using HTML/CSS for UI in XNA?
  • Generic/Unknown HTTP Error with response code 0 using UnityWebRequest
  • Unzip archive in .Net CORE 1.0
  • Streaming screenshots over WebRTC as a video stream from iOS
  • How to assign byte[] as a pointer in C#
  • Query to find the duplicates between the name and number in table
  • Calling Worksheet functions from vba in foreign language versions of Excel
  • Eloquent update method change created_at timestamp
  • Date Conversion from yyyy-mm-dd to dd-mm-yyyy
  • Debug.DrawLine not showing in the GameView
  • Do I need to reset a Perl hash index?
  • How can I sort a a table with VBA with given text condition?
  • Play WS (2.2.1): post/put large request
  • Bad request using file_get_contents for PUT request in PHP
  • Unity3D & Android: Difference between “UnityMain” and “main” threads?
  • CSS Linear-gradient formatting issue accross different browsers
  • How to recover from a Spring Social ExpiredAuthorizationException
  • Does CUDA 5 support STL or THRUST inside the device code?
  • javascript inside java/jsp code
  • ILMerge & Keep Assembly Name
  • Arrow is showed instead of the material design version hamburger icon. Why doesn't syncState in
  • Large data - storage and query
  • WOWZA + RTMP + HTML5 Playback?
  • Comma separated Values
  • PHP: When would you need the self:: keyword?
  • Error creating VM instance in Google Compute Engine
  • Hits per day in Google Big Query
  • Understanding cpu registers
  • how does django model after text[] in postgresql [duplicate]
  • How do I configure my settings file to work with unit tests?
  • Change div Background jquery
  • How does Linux kernel interrupt the application?
  • How to get Windows thread pool to call class member function?
  • Busy indicator not showing up in wpf window [duplicate]
  • Python/Django TangoWithDjango Models and Databases
  • Why do underscore prefixed variables exist?
  • How do I use LINQ to get all the Items that have a particular SubItem?