- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I am trying to convert a simple cuda program which uses pitch2D textures and I get the following error messages:
D:\ProgramData\NVIDIA Corporation\CUDA\Samples\v8.0\3_Imaging\cudaMPR\test.cu:25:35: warning: DPCT1004:0: Could not generate replacement. resDescInput[instance].resType = cudaResourceTypePitch2D; ^ D:\ProgramData\NVIDIA Corporation\CUDA\Samples\v8.0\3_Imaging\cudaMPR\test.cu:26:2: warning: DPCT1004:1: Could not generate replacement. resDescInput[instance].res.pitch2D.devPtr = d_In; ^ D:\ProgramData\NVIDIA Corporation\CUDA\Samples\v8.0\3_Imaging\cudaMPR\test.cu:28:2: warning: DPCT1004:2: Could not generate replacement. resDescInput[instance].res.pitch2D.desc = channelDesc; ^ D:\ProgramData\NVIDIA Corporation\CUDA\Samples\v8.0\3_Imaging\cudaMPR\test.cu:29:2: warning: DPCT1004:3: Could not generate replacement. resDescInput[instance].res.pitch2D.height = pSize; ^ D:\ProgramData\NVIDIA Corporation\CUDA\Samples\v8.0\3_Imaging\cudaMPR\test.cu:30:2: warning: DPCT1004:4: Could not generate replacement. resDescInput[instance].res.pitch2D.width = rSize; ^ D:\ProgramData\NVIDIA Corporation\CUDA\Samples\v8.0\3_Imaging\cudaMPR\test.cu:31:2: warning: DPCT1004:5: Could not generate replacement. resDescInput[instance].res.pitch2D.pitchInBytes = pPitch;
Is there a plan for support for pitch2D array type in DPC++ or is there an alternative to texture from flat memory that doesn't require a memcpy to do pitch conversion? I have attached a code sample.
Thanks
Ismayil
- Tags:
- Feature
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for reaching out to us. We are working on this issue and will get back to you.
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Rahul
If you would like to read more about the use case for pitch2D texture arrays, please see my presentation at
Thanks
Ismayil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for your patience. The issue raised by you has been fixed in the latest OneAPI version 2021.2. Please download and let us know your experience with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We haven't heard back from you. Please let us know your feedback after testing the latest version.
Regards
Prasanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are closing this thread as the issue has been resolved in the latest version.
We will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only
Regards
Prasanth
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page