自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(28)
  • 收藏
  • 关注

转载 BMP Header Structure

1 /* ***** BEGIN LICENSE BLOCK ***** 2 * 3 * $Id: bitmap.h,v 1.3 2004/06/30 16:44:52 asuraparaju Exp $ $Name: Dirac_1_0_2 $ 4 * 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 6 *...

2017-04-07 22:20:00 111

转载 convert in ubuntu

$convert -resize 320x256 woman.bmp woman320x256.png$identify -verbose woman320x256.pngImage: woman320x256.png Format: PNG (Portable Network Graphics) Class: DirectClass Geometry: 205x256...

2017-04-07 22:15:00 126

转载 c data type

#elif define _WIN32 typedef __int64 int64; //Portable signed long integer 8 bytes typedef int int32; typedef signed short int int16; ...

2017-03-27 20:51:00 104

转载 sim_simple

1 `timescale 1ns / 1ps 2 ////////////////////////////////////////////////////////////////////////////////// 3 //sim_sample.v 4 ///////////////////////////////////////////////////////////...

2017-03-22 09:19:00 132

转载 polar_ex

1 %complex_polar_ex.m 2 clear all 3 close all 4 clc 5 theta = 0:0.1:2*pi; 6 rho = 2; % 큰 원의 반지름 7 z = rho*exp(i*theta); 8 figure 9 polar(angle(z), abs(z), 'k')10 set(gcf, 'c...

2017-03-22 09:13:00 104

转载 Makefile for Boost Array Test

1 INCLUDEPATH=-I/usr/include/c++/4.8.4\ 2 -I./\ 3 -I/home/william/Project/boost_1_59_0 4 SOURCEDIR=./ 5 LIBRARYPATH:= 6 LIBRARY:= 7 SRCS=$(foreach dir,$(SOURCEDIR), $(wildcar...

2017-03-21 22:49:00 65

转载 boost Array Example

1 #include <iostream> 2 #include "boost/multi_array.hpp" 3 4 using namespace std; 5 6 int main() { 7 boost::array<int, 4> array = {{1,2,3,4}}; 8 for (int i ...

2017-03-21 22:47:00 99

转载 Makefile for CPolyn.cpp

1 INCLUDEPATH=-I/usr/include/c++/4.8.4\ 2 -I./ 3 SOURCEDIR=./ 4 LIBRARYPATH:= 5 LIBRARY:= 6 SRCS=$(foreach dir,$(SOURCEDIR), $(wildcard $(dir)/*.cpp)) 7 TEMPOUTPUT:...

2017-03-21 22:36:00 53

转载 多项式乘多项式(C++)

1 // CPolyn.cpp 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <iostream> 5 #include <math.h> 6 #define eps 1e-8 7 const int nArrA = 5; ...

2017-03-21 22:35:00 420

转载 Makefile for FFT(C++ Version)

1 INCLUDEPATH=-I/usr/include/c++/4.8.4\ 2 -I../SharedHeader \ 3 -I./ 4 SOURCEDIR=./ 5 LIBRARYPATH:= 6 LIBRARY:= 7 SRCS=$(foreach dir,$(SOURCEDIR), $(wildca...

2017-03-21 22:25:00 82

转载 Fast Fourier Transform(FFT C++)

1 #include <iostream> 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <cmath> 5 6 #define pi 3.1415926 7 #define Nall 32768 8 #define M ...

2017-03-21 22:23:00 160

转载 make build & make clean

DIRS :=fold1\fold2\fold3build: @for dir in $(DIRS); do\ make -C $$dir ;\ doneclean: @for dir in $(DIRS); do\ make -C $$dir clean; \ ...

2017-03-21 22:09:00 156

转载 Makefile for OpenCL

INCLUDE=-I/usr/local/cuda/include/\ -I/usr/local/cuda/include/CL\ -I/usr/include \ -I/usr/include/c++LIBRARY_PATH :=-L/usr/local/cuda/lib64LIBRARIE...

2017-03-21 22:07:00 144

转载 Makefile for CUDA

1 CUDA_PATH ?=/usr/local/cuda-7.0 2 NVCC :=$(CUDA_PATH)/bin/nvcc -ccbin g++ 3 INCLUDE :=-I/usr/local/cuda-7.0/include/\ 4 -I/usr/local/cuda/samples/common/inc\ 5 ...

2017-03-21 22:05:00 236

转载 OpenCL Device Information

1 #include <stdio.h> 2 #include <stdlib.h> 3 4 #ifdef __APPLE__ 5 #include <OpenCL/opencl.h> 6 #else 7 #include <CL/cl.h> 8 #endif 9 10 11 ...

2017-03-21 21:58:00 116

转载 CUDA Vector Add Test 2048x1024

1 #include "cuda_runtime.h" // CUDAVectorAdd.cu 2 #include "device_launch_parameters.h" 3 #include "IML_PrecisionTimer.h" 4 5 #include <stdio.h> 6 #define MEM_SIZE (20...

2017-03-21 21:53:00 179

转载 CUDA FFT DEMO

1 #include "cuda_runtime.h" 2 #include "device_launch_parameters.h" 3 #include <stdio.h> 4 #include "cufft.h" 5 6 #define Nx 29 // FFT 7 #define Ny 1 // FFTÃÑ...

2017-03-21 21:49:00 299

转载 CUDA matrixMulCUBLAS

1 /////////////////////////////////////////////////////////////////////////// 2 // matirxmulCUBLAS.cpp 3 // 4 // Copyright 1993-2013 NVIDIA Corporation. All rights reserved. ...

2017-03-21 21:41:00 225

转载 CUDA Matrix Multiply

1 /** 2 * Copyright 1993-2013 NVIDIA Corporation. All rights reserved. 3 * 4 * Please refer to the NVIDIA end user license agreement (EULA) associated 5 * with this source...

2017-03-21 21:34:00 258

转载 Boost Library Array1D, Array2D Test

1 /*********************************************************************/ 2 /* Arrays.h */ 3 /* Author: Tim Borer ...

2017-03-21 21:19:00 100

转载 矩阵(C++)

1 /* array.h 2 * ****** BEGIN LICENSE BLOCK ***** 3 * $Id: arrays.h,v 1.21 2008/03/14 08:17:36 asuraparaju Exp $ $Name: Dirac_1_0_2 $ 4 * 5 * Version: MPL 1.1/GPL 2.0/LGPL 2.1 ...

2017-03-21 20:07:00 122

转载 mysh

#!/bin/shfor dir in *do if [ -d $dir ] ; then echo $dir sudo rm -rf $dir/Makefile sudo ln ./Makefile $dir/Makefile sudo chown william:william $dir/Makefile ...

2017-03-20 20:42:00 187

转载 2. 单链表

// LinkSeqList.h#include <iostream>#include <cstring>using namespace std;struct node{ int data1; char data2[10]; node *next;};typedef node* ptrN;class...

2017-03-14 19:59:00 63

转载 Chapter 1 顺序表

//SeqList.h #include <iostream>using namespace std;const int DefaultSize=100;template <typename Type>class SeqList{public: SeqList(int sz=DefaultSize):m_nmaxsize(sz),m_n...

2017-03-14 19:36:00 78

转载 Two Dimension Array

// Ex_2DArray.cpp#include <stdio.h>#include <stdlib.h>#include <iostream>using namespace std;int main(){int x, y;scanf("%d,%d",&x,&y); // row:x , c...

2017-03-11 12:58:00 154

转载 std::queue example

#include <stdio.h>#include <stdlib.h>#include <iostream>//SYSTEM INCLUDES#include <queue>using namespace std;typedef struct { int position_y; int pos...

2017-03-02 16:31:00 53

转载 std::vector example

#include <stdio.h>#include <stdlib.h>#include <vector>#include <iostream>#include <algorithm>using namespace std;int main(){ std::vector<...

2017-03-02 16:22:00 68

转载 opencl fft

最近在做并行计算, 应用的是典型的计算快速傅立叶变换 FFT, 程序设计的环境是 Window7, GTX 660ti 使用的软件操作是 CUDA 6.0, OpenCL1.1 , VC2005 现做规模为 2048的 FFT做512 次, 这样得到的结果用 matlab来衡量程序计算结果的正确性。 在保证正确性的条件下, 测量程序中 512次规模...

2015-03-11 15:15:00 675

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除