This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <dirent.h> | |
#include <iostream> | |
#include <math.h> | |
#include <sstream> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <fstream> | |
#include <chrono> | |
#include <float.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.18) | |
cmake_minimum_required(VERSION 3.18 FATAL_ERROR) | |
project(cusz_example LANGUAGES CXX CUDA) | |
enable_language(CUDA) | |
add_executable(ex-api src/main.cu) | |
include_directories(/opt/cusz/include/cusz) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM nvidia/cuda:11.7.0-devel-ubuntu22.04 | |
RUN apt-get update && \ | |
apt-get install -y \ | |
make=4.3-4.1build1 \ | |
cmake=3.22.1-1ubuntu1 \ | |
ninja-build=1.10.1-1 \ | |
g++=4:11.2.0-1ubuntu1 \ | |
ninja-build=1.10.1-1 \ | |
vim \ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.