texture not a template?
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 9.6k
- Forks
- 2.4k
- Avg merge
- 53m
- Merged PRs (30d)
- 1
Description
Why, in cuda samples, projects with "texture" object, tell me errors with that: " texture is not a template "? for an example, in project simpleD3D10RenderTarget's "simpleD3D10RenderTarget_kernel.cu", and with other errors, like that: "identifier 'threadIdx' is undefined" ?
I am using Visual Studio 2022 under windows 10, with cuda sdk 12.1
Many thanks in advanced for you replies.
ss
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with cuda samples/projects/simpleD3D10RenderTarget/simpleD3D10RenderTarget_kernel.cu and reproduce the reported diagnostics in Visual Studio 2022 with CUDA 12.1. Compare the texture is not a template and threadIdx errors with the sample's compilation setup; done means the cause is identified and the sample builds without those errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100