| … | … | @@ -0,0 +1,36 @@ |
| 1 | # Prerequisites |
| 2 | |
| 3 | * CMake |
| 4 | * CUDA |
| 5 | |
| 6 | This has been tested on Windows with Visual Studio Community 2019 on a machine with an NVIDIA GTX 1060. |
| 7 | An easy way to get CMake is to open a Visual Studio command prompt (in Windows, run "x64 Native Tools Command Prompt for |
| 8 | VS 2019"; that will put CMake in your path). |
| 9 | |
| 10 | # Cloning |
| 11 | |
| 12 | ``` |
| 13 | git clone https://github.com/nosferalatu/SimpleConcurrentGPUHashTable.git SimpleConcurrentGPUHashTable |
| 14 | ``` |
| 15 | |
| 16 | # Generating Build Files |
| 17 | |
| 18 | Run the following commands to generate .sln and .vcxproj's that can be opened in Visual Studio: |
| 19 | |
| 20 | ``` |
| 21 | cd ConcurrentHashTables |
| 22 | md build |
| 23 | cd build |
| 24 | cmake .. |
| 25 | ``` |
| 26 | |
| 27 | You can now open `SimpleConcurrentGPUHashTable.sln` in Visual Studio. |
| 28 | |
| 29 | # Building |
| 30 | |
| 31 | You can build within Visual Studio, or from the command line with: |
| 32 | |
| 33 | ``` |
| 34 | cmake --build . --config Release |
| 35 | ``` |
| 36 | |