Skip to content

Commit fbfad12

Browse files
committed
Implemented project of gpu programming with CUDA and HIP
1 parent 027f52c commit fbfad12

File tree

120 files changed

+50863
-270
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+50863
-270
lines changed
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve the course
4+
title: '[BUG] '
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
## 🐛 Bug Description
11+
A clear and concise description of what the bug is.
12+
13+
## 🔄 Steps to Reproduce
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
## ✅ Expected Behavior
21+
A clear and concise description of what you expected to happen.
22+
23+
## ❌ Actual Behavior
24+
A clear and concise description of what actually happened.
25+
26+
## 🖼️ Screenshots
27+
If applicable, add screenshots to help explain your problem.
28+
29+
## 💻 Environment Information
30+
**Operating System:**
31+
- [ ] Ubuntu 20.04/22.04
32+
- [ ] Windows 10/11
33+
- [ ] macOS
34+
- [ ] Other: ___________
35+
36+
**GPU Information:**
37+
- **GPU Model**: [e.g. RTX 4090, RX 7900 XTX]
38+
- **Driver Version**: [e.g. NVIDIA 535.98, AMD 23.4.2]
39+
- **CUDA Version**: [e.g. 12.2] (if applicable)
40+
- **ROCm Version**: [e.g. 5.6.0] (if applicable)
41+
42+
**Development Environment:**
43+
- [ ] Native installation
44+
- [ ] Docker container
45+
- **Container Image**: [e.g. gpu-programming-101:cuda]
46+
47+
**Module Information:**
48+
- **Module**: [e.g. Module 1, Module 4]
49+
- **Example**: [e.g. 01_vector_addition_cuda.cu]
50+
51+
## 🔧 Additional Context
52+
Add any other context about the problem here.
53+
54+
## 📋 Error Output
55+
```bash
56+
# Paste complete error output here
57+
```
58+
59+
## 🔍 System Information
60+
If possible, include output from:
61+
```bash
62+
# For NVIDIA systems
63+
nvidia-smi
64+
nvcc --version
65+
66+
# For AMD systems
67+
rocm-smi
68+
hipcc --version
69+
70+
# Build system
71+
make --version
72+
gcc --version
73+
```
74+
75+
## ✅ Checklist
76+
- [ ] I have searched existing issues for this problem
77+
- [ ] I have tried the troubleshooting steps in the module documentation
78+
- [ ] I have included all required environment information
79+
- [ ] I have provided a clear description of the issue
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for improving the course
4+
title: '[FEATURE] '
5+
labels: enhancement
6+
assignees: ''
7+
8+
---
9+
10+
## 🚀 Feature Description
11+
A clear and concise description of what you want to happen.
12+
13+
## 🎯 Educational Goal
14+
What learning objective would this feature serve? How does it improve the educational experience?
15+
16+
## 💡 Motivation
17+
Is your feature request related to a problem? Please describe.
18+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
19+
20+
## 📝 Detailed Description
21+
Describe the solution you'd like in detail. Include:
22+
- What module this would fit in
23+
- What type of content (theory, examples, exercises)
24+
- Expected learning outcomes
25+
26+
## 🔄 Alternative Solutions
27+
Describe any alternative solutions or features you've considered.
28+
29+
## 📚 Module Classification
30+
Which module(s) would this feature belong in?
31+
- [ ] Module 1: Foundations of GPU Computing
32+
- [ ] Module 2: Multi-Dimensional Data Processing
33+
- [ ] Module 3: GPU Architecture and Execution Models
34+
- [ ] Module 4: Advanced GPU Programming Techniques
35+
- [ ] Module 5: Performance Engineering and Optimization
36+
- [ ] Module 6+: Future modules
37+
- [ ] Cross-cutting: Multiple modules
38+
- [ ] Infrastructure: Build system, Docker, etc.
39+
40+
## 🛠️ Implementation Considerations
41+
- [ ] CUDA implementation needed
42+
- [ ] HIP implementation needed
43+
- [ ] Cross-platform compatibility required
44+
- [ ] Performance benchmarking needed
45+
- [ ] Documentation updates required
46+
- [ ] Docker container updates needed
47+
48+
## 🎓 Target Audience
49+
Who would benefit from this feature?
50+
- [ ] Complete beginners
51+
- [ ] Experienced programmers new to GPU
52+
- [ ] Advanced GPU programmers
53+
- [ ] Researchers/Scientists
54+
- [ ] All levels
55+
56+
## 📋 Acceptance Criteria
57+
What would need to be true for this feature to be considered complete?
58+
- [ ] Working code examples
59+
- [ ] Comprehensive documentation
60+
- [ ] Cross-platform testing
61+
- [ ] Performance analysis
62+
- [ ] Integration with build system
63+
64+
## 🔗 Related Resources
65+
Any relevant documentation, papers, or examples that relate to this feature?
66+
67+
## ✅ Checklist
68+
- [ ] I have searched existing issues for this feature request
69+
- [ ] I have considered the educational value of this feature
70+
- [ ] I have thought about cross-platform compatibility
71+
- [ ] I understand this may take time to implement

.github/ISSUE_TEMPLATE/question.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
name: Question
3+
about: Ask a question about the course content or setup
4+
title: '[QUESTION] '
5+
labels: question
6+
assignees: ''
7+
8+
---
9+
10+
## ❓ Question
11+
A clear and concise question about the course content, setup, or concepts.
12+
13+
## 🎯 Context
14+
What are you trying to achieve or understand?
15+
16+
## 📚 Module Reference
17+
Which module or example are you asking about?
18+
- [ ] General course question
19+
- [ ] Module 1: Foundations of GPU Computing
20+
- [ ] Module 2: Multi-Dimensional Data Processing
21+
- [ ] Module 3: GPU Architecture and Execution Models
22+
- [ ] Module 4: Advanced GPU Programming Techniques
23+
- [ ] Module 5: Performance Engineering and Optimization
24+
- [ ] Docker setup and containers
25+
- [ ] Build system and Makefiles
26+
- [ ] Cross-platform development
27+
28+
## 🔍 What I've Tried
29+
Describe what you've already attempted or researched:
30+
- [ ] I've read the module README
31+
- [ ] I've looked at the example code
32+
- [ ] I've tried running the examples
33+
- [ ] I've searched existing issues
34+
- [ ] I've checked the troubleshooting section
35+
36+
## 💻 Environment (if relevant)
37+
**Setup:**
38+
- [ ] Native installation
39+
- [ ] Docker container
40+
41+
**GPU:**
42+
- **Model**: [e.g. RTX 4090, RX 7900 XTX]
43+
- **Platform**: [e.g. CUDA, ROCm/HIP]
44+
45+
## 📋 Additional Details
46+
Any additional context, code snippets, or information that might help answer your question.
47+
48+
## ✅ Checklist
49+
- [ ] I have searched existing issues and documentation
50+
- [ ] I have provided sufficient context for my question
51+
- [ ] I have specified which module/example I'm asking about
52+
- [ ] I have described what I've already tried

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
# Pull Request
2+
3+
## 📋 Description
4+
Brief description of changes and motivation.
5+
6+
## 🎯 Type of Change
7+
- [ ] 🐛 Bug fix (non-breaking change fixing an issue)
8+
- [ ] ✨ New feature (non-breaking change adding functionality)
9+
- [ ] 💥 Breaking change (fix or feature causing existing functionality to not work)
10+
- [ ] 📚 Documentation update
11+
- [ ] 🚀 Performance improvement
12+
- [ ] 🔨 Code refactoring
13+
- [ ] 🧪 Test improvements
14+
- [ ] 🐳 Docker/Infrastructure changes
15+
16+
## 📚 Module Impact
17+
Which modules are affected by this change?
18+
- [ ] Module 1: Foundations of GPU Computing
19+
- [ ] Module 2: Multi-Dimensional Data Processing
20+
- [ ] Module 3: GPU Architecture and Execution Models
21+
- [ ] Module 4: Advanced GPU Programming Techniques
22+
- [ ] Module 5: Performance Engineering and Optimization
23+
- [ ] Module 6+: Future modules
24+
- [ ] Build system/Infrastructure
25+
- [ ] Documentation only
26+
27+
## 🧪 Testing
28+
**Compilation Testing:**
29+
- [ ] ✅ Compiled successfully on CUDA
30+
- [ ] ✅ Compiled successfully on HIP
31+
- [ ] ✅ Cross-platform compatibility verified
32+
- [ ] 🚫 Not applicable (documentation/infrastructure only)
33+
34+
**Runtime Testing:**
35+
- [ ] ✅ Tested example execution
36+
- [ ] ✅ Verified correct output
37+
- [ ] ✅ Performance benchmarking completed
38+
- [ ] 🚫 Not applicable
39+
40+
**Environment Testing:**
41+
- [ ] ✅ Native installation
42+
- [ ] ✅ Docker containers (CUDA)
43+
- [ ] ✅ Docker containers (ROCm)
44+
- [ ] ✅ Multiple GPU configurations
45+
46+
## 📖 Documentation
47+
- [ ] ✅ Updated relevant README files
48+
- [ ] ✅ Updated module content.md files
49+
- [ ] ✅ Added/updated code comments
50+
- [ ] ✅ Updated build system documentation
51+
- [ ] 🚫 No documentation changes needed
52+
53+
## 🔍 Code Quality
54+
- [ ] ✅ My code follows the project style guidelines
55+
- [ ] ✅ I have performed a self-review of my code
56+
- [ ] ✅ I have commented complex algorithms and optimizations
57+
- [ ] ✅ I have added proper error handling
58+
- [ ] ✅ My changes generate no new compiler warnings
59+
60+
## ⚡ Performance
61+
- [ ] ✅ No performance regression verified
62+
- [ ] ✅ Performance improvements documented
63+
- [ ] ✅ Benchmarking results included
64+
- [ ] 🚫 Not applicable
65+
66+
## 🔄 Backward Compatibility
67+
- [ ] ✅ Changes are backward compatible
68+
- [ ] ⚠️ Changes include breaking changes (documented below)
69+
- [ ] 🚫 Not applicable
70+
71+
## 💥 Breaking Changes
72+
<!-- If you checked "Breaking changes" above, describe them here -->
73+
74+
## 🔗 Related Issues
75+
<!-- Link any related issues here using #issue_number -->
76+
Fixes #
77+
Relates to #
78+
79+
## 📸 Screenshots/Output
80+
<!-- If applicable, add screenshots or command output -->
81+
82+
## 🧾 Additional Notes
83+
<!-- Any additional information, context, or notes for reviewers -->
84+
85+
## ✅ Final Checklist
86+
- [ ] I have tested this change thoroughly
87+
- [ ] I have updated all relevant documentation
88+
- [ ] I have considered cross-platform compatibility
89+
- [ ] I have considered the educational impact of this change
90+
- [ ] I understand this change may be tested on multiple GPU platforms

0 commit comments

Comments
 (0)