Skip to content

Instantly share code, notes, and snippets.

@maltempi
maltempi / main.cu
Created December 22, 2022 18:37
cusz+ has memory leak?
#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>
@maltempi
maltempi / CMakeLists.txt
Last active November 5, 2022 23:15
Standalone CUSZ
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)
@maltempi
maltempi / Dockerfile
Last active November 4, 2022 16:27
Building szcompressor/cuSZ on Docker container
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 \
@maltempi
maltempi / Flax_Resnet18.ipynb
Last active March 22, 2023 11:50
[MO436] ResNet18 using JAX, Flax, Onnx
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.