Skip to content

Instantly share code, notes, and snippets.

View Azhng's full-sized avatar
🍎

Archer Zhang Azhng

🍎
View GitHub Profile
@Azhng
Azhng / TODO.md
Last active April 11, 2016 18:12
TODO list for CvEngine

TODO


Optimizing argument pasing

  • Minimize the construction of new Mat object

  • Minimize the copying of CvEngine. Pass-by-reference is preferred

  • Test if auto identifier can be used in lambda expression

Next development goal

#include <iostream>
#include <opencv2/core/core.hpp>
#include <opencv2/imgcodecs.hpp>
#include <opencv2/opencv.hpp>
#include <opencv2/highgui/highgui.hpp>
#include "../src/include/CvEngine.hpp"
using namespace cngn;
#include <iostream>
#include <map>
#include <functional>
#include <memory>
using namespace std;
#include "IPluggable.hpp"
#include<cstdio>
#define quote(x) #x
using namespace std;
int main(int argc, char **argv) {
cout << "Why not working" << endl;
Engine e;
Engine e2;
@Azhng
Azhng / # opencv3 - 2016-09-16_09-48-23.txt
Created September 16, 2016 14:16
opencv3 (homebrew/science/opencv3) on Mac OS X 10.11.6 - Homebrew build logs
Homebrew build logs for homebrew/science/opencv3 on Mac OS X 10.11.6
Build date: 2016-09-16 09:48:23
0x429670B9Ebce3caf5149103AEECc7F8F504A445f
@Azhng
Azhng / .vimrc
Last active December 12, 2017 02:29
set nocompatible
filetype off
"NeoBundle Scripts-----------------------------
if &compatible
set nocompatible " Be iMproved
endif
" Required:
set runtimepath+=/Users/Azhng/.vim/bundle/neobundle.vim/
@Azhng
Azhng / .vimrc.new
Last active September 9, 2018 00:00
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'tmhedberg/SimpylFold'
Plugin 'vim-scripts/indentpython.vim'
Plugin 'scrooloose/syntastic'
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
# Set name of the theme to load. Optionally, if you set this to "random"
# it'll load a random theme each time that oh-my-zsh is loaded.
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="agnoster"

Scope

A very specific narrow topic within GPGPU computing (implemented using OpenCL / CUDA)

Potential topics

  • OpenCL: Introduction
    • Command Queue model
    • Host memory model
      • opencl native memory types
  • shared virtual memory