03 2017 档案

摘要:#elif define _WIN32 typedef __int64 int64; //Portable signed long integer 8 bytes typedef int int32; typedef signed short int int16; ty... 阅读全文
posted @ 2017-03-27 20:51 souwang 阅读(190) 评论(0) 推荐(0)
摘要:1 `timescale 1ns / 1ps 2 ////////////////////////////////////////////////////////////////////////////////// 3 //sim_sample.v 4 ////////////////////////////////////////////////////////////////////... 阅读全文
posted @ 2017-03-22 09:19 souwang 阅读(236) 评论(0) 推荐(0)
摘要: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, 'color', 'w'); 11... 阅读全文
posted @ 2017-03-22 09:13 souwang 阅读(148) 评论(0) 推荐(0)
摘要: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), $(wildcard $(dir)/*.cp... 阅读全文
posted @ 2017-03-21 22:49 souwang 阅读(198) 评论(0) 推荐(0)
摘要:./Boost_Array_Example1 2 3 4 阅读全文
posted @ 2017-03-21 22:47 souwang 阅读(180) 评论(0) 推荐(0)
摘要: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:=$(foreach di... 阅读全文
posted @ 2017-03-21 22:36 souwang 阅读(125) 评论(0) 推荐(0)
摘要:$./CPolyn 7+ 3*x^1+ 9*x^8+ 5*x^17+ 8*x^22The Length of headA is 5 -7+ 8*x^1+ 22*x^7 -9*x^8 -8*x^22The Length of headB is 5InvPrintPlyn+ 8*x^22+ 5*x^17 阅读全文
posted @ 2017-03-21 22:35 souwang 阅读(485) 评论(0) 推荐(0)
摘要: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), $(wildcard $(dir)/*.... 阅读全文
posted @ 2017-03-21 22:25 souwang 阅读(157) 评论(0) 推荐(0)
摘要:./CComplexN = 1024, M=10N = 2048, M=11N = 4096, M=12N = 8192, M=13N = 16384, M=14N = 32768, M=15***************c1 c2****************************2.3000 阅读全文
posted @ 2017-03-21 22:23 souwang 阅读(176) 评论(0) 推荐(0)
摘要:DIRS :=fold1\ fold2\ fold3 build: @for dir in $(DIRS); do\ make -C $$dir ;\ done clean: @for dir in $(DIRS); do\ make -C $$dir clean; \ done 阅读全文
posted @ 2017-03-21 22:09 souwang 阅读(223) 评论(0) 推荐(0)
摘要: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/lib64 LIBRARIES :=-lOpenCL... 阅读全文
posted @ 2017-03-21 22:07 souwang 阅读(434) 评论(0) 推荐(0)
摘要: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 -I/usr... 阅读全文
posted @ 2017-03-21 22:05 souwang 阅读(1373) 评论(0) 推荐(0)
摘要:./DeviceInfoMax work-item dimensions : 3Max work-item sizes : 1024 1024 64Max work-group sizes : 1024Max comput_uint : 4Max constant_args : 9Max const 阅读全文
posted @ 2017-03-21 21:58 souwang 阅读(477) 评论(0) 推荐(0)
摘要:$./CUDAVectorAddTime = 0.089507 Sec Result OK! 阅读全文
posted @ 2017-03-21 21:53 souwang 阅读(615) 评论(0) 推荐(0)
摘要:$h_hatCH.txt 406.000000+0.000003i-14.499996+133.325287i-14.499996+65.874161i-14.499991+43.034470i-14.500006+31.341248i-14.500005+24.099192i-14.499995+ 阅读全文
posted @ 2017-03-21 21:49 souwang 阅读(418) 评论(0) 推荐(0)
摘要:./matrixMulCUBLAS[Matrix Multiply CUBLAS] - Starting...GPU Device 0: "GeForce GTX 650 Ti" with compute capability 3.0MatrixA(320,640), MatrixB(320,640 阅读全文
posted @ 2017-03-21 21:41 souwang 阅读(752) 评论(0) 推荐(0)
摘要:./kernelP[0] = 2048P[1] = 2048P[2] = 2048P[3] = 2048P[4] = 2048P[5] = 2048P[6] = 2048P[7] = 2048P[8] = 2048P[9] = 2048P[1048566] = 2048P[1048567] = 20 阅读全文
posted @ 2017-03-21 21:34 souwang 阅读(667) 评论(0) 推荐(0)
摘要:./Boost_Array_Test****** Boost Library Array1D Test ******0 1 2 3 4 5 6 7 8 9 ****** Boost Library Array1D Test ******0 -1 -2 -3 -4 -5 -6 -7 1 0 -1 -2 阅读全文
posted @ 2017-03-21 21:19 souwang 阅读(279) 评论(0) 推荐(0)
摘要:******** Test OneDArray ***********0 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 10 ******** Test TwoDArray ***********0 -1 -2 -3 -4 -5 -6 -7 1 0 -1 -2 -3 -4 阅读全文
posted @ 2017-03-21 20:07 souwang 阅读(355) 评论(0) 推荐(0)
摘要:#!/bin/sh for 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 fi done... 阅读全文
posted @ 2017-03-20 20:42 souwang 阅读(161) 评论(0) 推荐(0)
摘要:Create Non Seqenced Link List :input -1 to exit : 10 China20 Korea30 American40 France50 German-1 CLinkSeqList Max Lenght = 5output all nodes in link 阅读全文
posted @ 2017-03-14 19:59 souwang 阅读(133) 评论(0) 推荐(0)
摘要:$ ./Ex_Seqlist theoperate is illegalcan'tfind the element you want to findcan'tbe found 01: 92: 93: 24: 35: 46: 67: 98: 99: 110: 811: 512: 21: 22: 33: 阅读全文
posted @ 2017-03-14 19:36 souwang 阅读(122) 评论(0) 推荐(0)
摘要:$ ./Ex_2DArray 4, 50 -1 -2 -3 -4 1 0 -1 -2 -3 2 1 0 -1 -2 3 2 1 0 -1 阅读全文
posted @ 2017-03-11 12:58 souwang 阅读(219) 评论(0) 推荐(0)
摘要:#include #include #include //SYSTEM INCLUDES #include using namespace std; typedef struct { int position_y; int position_x; int state; } MY_CLASS; typedef std::pair MY_PAIR; typedef std::... 阅读全文
posted @ 2017-03-02 16:31 souwang 阅读(221) 评论(0) 推荐(0)
摘要:#include #include #include #include #include using namespace std; int main() { std::vector line; for (int i = 0; i :: iterator as loop iterator: " ::iterator it; for (it = line.begin(); ... 阅读全文
posted @ 2017-03-02 16:22 souwang 阅读(226) 评论(0) 推荐(0)