Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imraklr/linear-search-cuda
Linear search method that can be employed on CUDA-enabled GPUs.
https://github.com/imraklr/linear-search-cuda
Last synced: 7 days ago
JSON representation
Linear search method that can be employed on CUDA-enabled GPUs.
- Host: GitHub
- URL: https://github.com/imraklr/linear-search-cuda
- Owner: imraklr
- License: mit
- Created: 2024-09-08T05:22:48.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-09-08T05:45:24.000Z (5 months ago)
- Last Synced: 2024-09-08T06:34:28.949Z (5 months ago)
- Language: Cuda
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# linear-search-cuda
Linear search method that can be employed on CUDA-enabled GPUs.You can change the number of items in the array by altering value of variable `N` and to change which number to find, you can alter the member of `struct SearchConfiguration` for host.
# How to run on Windows
Please note that the command mentioned here is based on the specific GPU model I am using: a GeForce 940MX.- Open x64 Native Tools Command Prompt for VS 2022 and run the following command to compile:
```cmd
nvcc -arch=sm_50 -o Linear-Search Linear-Search.cu
```- Now three files will be generated with extensions: .exe, .lib, .exp
- To run just use the command `Linear-Search.exe` and press Enter.