Skip to content

Instantly share code, notes, and snippets.

@luoyetx
luoyetx / example.cpp
Created June 11, 2015 12:25
多线程非阻塞队列
#include "mqueue.h"
#include <iostream>
#include <string>
#include <vector>
#include <random>
#include <Windows.h>
using namespace std;
struct Data {
@onauparc
onauparc / C++ Predict with caffe
Created June 17, 2014 13:36
sample code for caffe C++ prediction
#include <cuda_runtime.h>
#include <cstring>
#include <cstdlib>
#include <vector>
#include <string>
#include <iostream>
#include <stdio.h>
#include "caffe/caffe.hpp"