Comments (4)
The key thing to remember is that shared memory is per block so if it is two blocks you get that same shared memory twice. One chunk for the first block and one for the second. Threads only see the shared memory for their block.
from gpu-puzzles.
Are we allowed to extend the shared memory space to TPB + MAX_CONV + (MAX_CONV - 1)
since, for the convolution on the last few indices in the first block, we would need access? Currently, my max global reads are increasing to 4
and write to 1
from gpu-puzzles.
Ah, yes sorry. You are allowed to have multiple shared memory arrays. You shouldn't need to create 1 bigger one though.
from gpu-puzzles.
Thanks a lot!
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
- 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.