https://github.com/afnan47/sem8
SPPU Computer BE-Sem 2 Lab Assignments
https://github.com/afnan47/sem8
sppu sppu-be sppu-computer-engineering sppu-final-year sppubecomp
Last synced: about 2 months ago
JSON representation
SPPU Computer BE-Sem 2 Lab Assignments
- Host: GitHub
- URL: https://github.com/afnan47/sem8
- Owner: afnan47
- Created: 2023-01-30T12:52:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2025-01-06T14:00:12.000Z (over 1 year ago)
- Last Synced: 2025-01-06T14:49:07.259Z (over 1 year ago)
- Topics: sppu, sppu-be, sppu-computer-engineering, sppu-final-year, sppubecomp
- Language: Jupyter Notebook
- Homepage:
- Size: 142 MB
- Stars: 45
- Watchers: 3
- Forks: 24
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Semester 8
SPPU Computer Engineering 2019 Pattern Final Year-Sem 2 Lab Assignments.
(If this repo helped you, do star it! :)
## HPC Practicals
Note for Windows Users: [Make sure MinGW is installed with pthreads](https://stackoverflow.com/a/39256203).
### For running openmp programs run commands:-
Compile: `g++ path/to/file/file_name.cpp -fopenmp`
Execute: `./a.out` [Linux] or `./a.exe` [Windows]
### Steps to run CUDA programs on Google Collab:
1. [Go to Google Collab](https://colab.research.google.com)
2. Create a new Notebook(.ipynb file).
3. Click on Runtime and change runtime type to GPU.
4. Now run `!pip install git+https://github.com/afnan47/cuda.git` in a cell.
5. On a new cell run `%load_ext nvcc_plugin`
6. Test the following code
```
%%cu
#include
int main(){
std::cout << "Hello World\n";
return 0;
}
```
7. Remember to add `%%cu` before writing the C++ code for every CUDA program. CUDA is now set.
[Still getting errors? Click here for detailed steps](https://www.geeksforgeeks.org/how-to-run-cuda-c-c-on-jupyter-notebook-in-google-colaboratory/)
## BI Practicals
[YouTube Playlist](https://youtube.com/playlist?list=PLf2Wj8X3RbBRy-zlDkrbMPuFbb6peTeTG)
## Miniprojects
[HPC](https://github.com/afnan47/Quicksort-Using-MPI)
[Data Science Hons](https://github.com/afnan47/APReF-using-python3)
[Rest of the subject projects are within this repo itself](https://github.com/afnan47/sem8)