Comments (4)
Both are type int
so I'm not sure where this error is coming from
from gpu-puzzles.
Also the error is only when I call problem.check()
not problem.show()
from gpu-puzzles.
CUDA is extremely strict about the sizes allowed for shared arrays. They are not allowed to be variables. They can only be constants at compile time.
It's pretty crazy, but you cannot even do calculations. You have to either write a constant value i.e. 10 or give it a variable like TPB = 10 that was constant outside the function.
from gpu-puzzles.
Thanks for the speedy reply. My solution was just defining a new global and giving a value of 15 which is larger than any of the tests.
from gpu-puzzles.
Related Issues (20)
- Puzzel 10 minimum global reads? HOT 2
- AttributeError: 'ScalarHistory' object has no attribute 'location' HOT 2
- 1-d convolution question, accessing values out of block HOT 1
- Question on `syncthreads` in Puzzle 14 HOT 1
- Puzzles 1 HOT 2
- Hint for Q11: 1D Convolution HOT 4
- Why would puzzle 14 - Matrix Multiply need shared memory? HOT 3
- Puzzle 13 - Incorrect Problem Statement HOT 2
- [Puzzle 12, Test2] Question regarding shared memory
- SYCL version? HOT 1
- error: metadata-generation-failed HOT 3
- answers HOT 3
- Error when runnign notebook HOT 1
- Issues with Puzzle 12 HOT 1
- Inaccurate test cases or problem statement for Puzzle 7, 8 HOT 1
- How does the solution for 1D-conv work?
- Want more!!!
- Puzzle 12 log_2 implementation? HOT 2
- Puzzle 12 (test 2) and 13 puzzle.show() Display bug HOT 9
- NameError: name 'unit_y' is not defined HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gpu-puzzles.