Skip to content

Instantly share code, notes, and snippets.

View springkim's full-sized avatar
🏠
Working from home

KimBomm springkim

🏠
Working from home
View GitHub Profile
#
# Uncrustify Configuration File
# File Created With UncrustifyX 0.4.3 (252)
#
# Alignment
# ---------
## Alignment
@springkim
springkim / VSpring
Last active September 12, 2017 15:00
<list>
opencv3.1.0
opencv3.2.0
opencv3.3.0
</list>
@springkim
springkim / ISpring_version
Last active September 21, 2017 14:56
ISpring_version
<ispring-version>0.0.2</ispring-version>
@springkim
springkim / hello_caffe.cpp
Created November 2, 2017 07:56
check caffe installed or not
/*
* nvcc hello_caffe.cpp -lcaffe -lglog -lboost_system
*/
#include <stdio.h>
#include "caffe/caffe.hpp"
#include "caffe/util/io.hpp"
#include "caffe/blob.hpp"
#include "caffe/common.hpp"
#include "caffe/filler.hpp"
#if defined(_MSC_VER)
const char* compiler = "msvc";
#elif defined(__GNUC__)
const char* compiler = "gcc";
#elif defined(__clang__)
const char* compiler = "clang";
#endif
@springkim
springkim / .gitattributes
Created March 5, 2018 10:46
CRLF.gitattributes
# Project
* text eol=crlf
# Language Diffs
*.cs diff=csharp
*.css diff=css
@springkim
springkim / cudaMemBlockShow.h
Created September 26, 2018 00:21
Shows the memory blocks of cuda.
#pragma once
#include<Windows.h>
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
__declspec(selectany) float* __host_block;
__declspec(selectany) size_t __host_block_size;
void CudaMemBlockShow(float* device_block, size_t size) {
__host_block = (float*)malloc(size*sizeof(float));
__host_block_size = size;
cudaMemcpy(__host_block, device_block, size*sizeof(float), cudaMemcpyDeviceToHost);
static TCHAR* title = TEXT("CudaMemoryBlock");
@springkim
springkim / ts3psr.h
Created April 9, 2019 02:12
ts3 format parser
/*
* ts3psr.h
* We wish you a merry DL training
*
* Created by kimbomm on 2019. 2. 27...
* Copyright 2019 VIRNECT. All rights reserved.
*
*/
#if !defined(WE_WISH_YOU_A_MERRY_DL_TRAINING_7E3_2_1B_TS3PSR_H_INCLUDED)