青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品

chaogu ---大寫的人!

LOG-2011-04

 

//============================================================

//============================================================

DATE:2011-4-12

TIME:01:18

ICBC.pdf –finish

//============================================================

//============================================================

DATE:2011-4-15

TIME:00:00

Reading the “NoSQL Datebase”

   Reason for use NoSQL

1. Avoidance of Unneeded Complexity

2. High Throughput

3. Horizontal Scalability and Running on Commodity Hardware

4. Avoidance of Expensive Object-Relational Mapping

5. Complexity and Cost of Setting up Database Clusters

6. Compromising Reliability for Better Performance

7. The Current “One size fit’s it all” Databases Thinking Was and Is Wrong

8. The Myth of Effortless Distribution and Partitioning of Centralized Data Models

9. Movements in Programming Languages and Development Frameworks

10. Requirements of Cloud Computing

11. The RDBMS plus Caching-Layer Pattern/Workaround vs. Systems Built from Scratch with Scalability in Mind

12. Yesterday’s vs. Today’s Needs

Nosqldbs.pdf ----page19

 

//============================================================
//============================================================
DATE:2011-4-16

TIME:00:24

Reading the cudaArticle—05

A multiprocessor takes four clock cycles to issue one memory instruction for a "warp"

Accessing local or global memory incurs an additional 400 to 600 clock cycles of memory latency

-----------------------------------

Cuda Memory

Registers:

The fastest form of memory on the multi-processor.

Is only accessible by the thread.

Has the lifetime of the thread.

Shared Memory:

Can be as fast as a register when there are no bank conflicts or when reading from the same address.

Accessible by any thread of the block from which it was created.

Has the lifetime of the block.

Global memory:

Potentially 150x slower than register or shared memory -- watch out for uncoalesced reads and writes which will be discussed in the next column.

Accessible from either the host or device.

Has the lifetime of the application.

Local memory:

A potential performance gotcha, it resides in global memory and can be 150x slower than register or shared memory.

Is only accessible by the thread.

Has the lifetime of the thread.

 

// includes, system
#include <stdio.h>
#include <assert.h>
 
// Simple utility function to check for CUDA runtime errors
void checkCUDAError(const char* msg);
 
// Part 2 of 2: implement the fast kernel using shared memory
__global__ void reverseArrayBlock(int *d_out, int *d_in)
{
    extern __shared__ int s_data[];
 
    int inOffset = blockDim.x * blockIdx.x;
    int in = inOffset + threadIdx.x;
 
    // Load one element per thread from device memory and store it 
    // *in reversed order* into temporary shared memory
    s_data[blockDim.x - 1 - threadIdx.x] = d_in[in];
 
// Block until all threads in the block have written 
//their data to shared mem
    __syncthreads();
 
    // write the data from shared memory in forward order, 
    // but to the reversed block offset as before
 
    int outOffset = blockDim.x * (gridDim.x - 1 - blockIdx.x);
 
    int out = outOffset + threadIdx.x;
    d_out[out] = s_data[threadIdx.x];
}
 
////////////////////////////////////////////////////////////////////
// Program main
////////////////////////////////////////////////////////////////////
int main( int argc, char** argv) 
{
    // pointer for host memory and size
    int *h_a;
    int dimA = 256 * 1024; // 256K elements (1MB total)
 
    // pointer for device memory
    int *d_b, *d_a;
 
    // define grid and block size
    int numThreadsPerBlock = 256;
 
// Compute number of blocks needed based on array size 
//and desired block size
    int numBlocks = dimA / numThreadsPerBlock; 
 
    // Part 1 of 2: Compute the number of bytes of shared memory needed
    // This is used in the kernel invocation below
    int sharedMemSize = numThreadsPerBlock * sizeof(int);
 
    // allocate host and device memory
    size_t memSize = numBlocks * numThreadsPerBlock * sizeof(int);
    h_a = (int *) malloc(memSize);
    cudaMalloc( (void **) &d_a, memSize );
    cudaMalloc( (void **) &d_b, memSize );
 
    // Initialize input array on host
    for (int i = 0; i < dimA; ++i) {
        h_a[i] = i;
    }
 
    // Copy host array to device array
    cudaMemcpy( d_a, h_a, memSize, cudaMemcpyHostToDevice );
 
    // launch kernel
    dim3 dimGrid(numBlocks);
    dim3 dimBlock(numThreadsPerBlock);
reverseArrayBlock<<< dimGrid, dimBlock, sharedMemSize >>>( d_b, d_a );
 
    // block until the device has completed
    cudaThreadSynchronize();
 
    // check if kernel execution generated an error
    // Check for any CUDA errors
    checkCUDAError("kernel invocation");
 
    // device to host copy
    cudaMemcpy( h_a, d_b, memSize, cudaMemcpyDeviceToHost );
 
    // Check for any CUDA errors
    checkCUDAError("memcpy");
 
    // verify the data returned to the host is correct
    for (int i = 0; i < dimA; i++){
        assert(h_a[i] == dimA - 1 - i );
    }
 
    // free device memory
    cudaFree(d_a);
    cudaFree(d_b);
 
    // free host memory
    free(h_a);
 
// If the program makes it this far, 
//then the results are correct and
    // there are no run-time errors. Good work!
    printf("Correct!\n");
 
    return 0;
}
 
void checkCUDAError(const char *msg)
{
    cudaError_t err = cudaGetLastError();
    if( cudaSuccess != err) 
    {
        fprintf(stderr, "Cuda error: %s: %s.\n", msg, 
                          cudaGetErrorString( err) );
        exit(EXIT_FAILURE);
    }                         
}

 

//============================================================

TIME:01:16

Finsh reading the cudaArticle 06

 

//============================================================

DATE:2011-4-23

TIME:09:31

Reading berkeley view on cloud computing

   Page 10 classes of utility computing

 

//============================================================

DATE:2011-4-24

TIME:00:16

Reading Makefile.pdf

 

--------------------------------------------------------------

List macros specified by defalut(Makefile)

   Using : make –p

$@ name of target

$? List of dependents

$^ gives all dependencies,whether more recent than the target

$+ same as above,but keep the duplicate names

$< the first dependencies

 

--------------------------------------------------------------

Reading berkeley view on cloud computing

   Page 19 Number 5 Obstacle: Performance Unpredictability

 

//============================================================

//============================================================

DATE:2011-4-25

TIME:01:40

Finish reading Berkeley view on cloud computing

 

//============================================================

//============================================================

DATE:2011-4-28

TIME:21:22

Coding the motion project

The Visual Studio 2005 return an error that stack overflow

“Unhandled exception at 0x00439a57 in motion.exe: 0xC00000FD: Stack overflow.”

 

--------------------------------------------------------------

'motion.exe': Unloaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.4053_x-ww_e6967989\msvcr80.dll'

'motion.exe': Unloaded 'C:\WINDOWS\system32\psapi.dll'

'motion.exe': Unloaded 'C:\WINDOWS\system32\shimeng.dll'

First-chance exception at 0x00439a57 in motion.exe: 0xC00000FD: Stack overflow.

Unhandled exception at 0x00439a57 in motion.exe: 0xC00000FD: Stack overflow.

The program '[2388] motion.exe: Native' has exited with code 0 (0x0).

--------------------------------------------------------------

Problem: using huge big objet

 

//============================================================

//============================================================

DATE:2011-4-30

TIME:01:40

Coding CSE332 project 2

   Adding other data-counter Implementations

 

posted on 2011-05-03 21:57 chaogu 閱讀(678) 評論(0)  編輯 收藏 引用

導航

<2011年5月>
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

統計

常用鏈接

留言簿(1)

隨筆檔案

搜索

最新評論

閱讀排行榜

評論排行榜

青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            久久一区二区三区超碰国产精品| 亚洲欧美日韩国产精品| 免费看av成人| 男女激情视频一区| 欧美高清在线一区二区| 欧美日韩不卡| 国产精品欧美激情| 国精品一区二区| 亚洲国产欧美一区二区三区同亚洲 | 国产色综合久久| 一区二区在线观看视频在线观看| 亚洲大胆女人| 亚洲欧美日韩久久精品 | 在线亚洲欧美视频| 欧美一区影院| 欧美激情性爽国产精品17p| 国产精品v日韩精品v欧美精品网站| 国产精品免费看片| 亚洲国产成人精品女人久久久| 99国产精品国产精品久久| 午夜久久资源| 亚洲国产精品一区二区www在线 | 久久婷婷av| 国产精品久久久久久久久免费樱桃| 好看的亚洲午夜视频在线| 一区二区三区不卡视频在线观看| 欧美主播一区二区三区| 91久久在线| 久久亚洲综合网| 国产精品日日做人人爱| 亚洲欧洲精品一区二区三区 | 在线一区观看| 亚洲第一区在线观看| 亚洲综合不卡| 欧美日韩在线一区二区三区| 亚洲大胆av| 久久人91精品久久久久久不卡 | 欧美伦理影院| 亚洲国产小视频| 久久青青草原一区二区| 亚洲影院一区| 国产精品高潮呻吟| 亚洲乱码国产乱码精品精98午夜| 久久国产精品久久久久久电车| 日韩视频不卡| 久久久人人人| 久久精品中文字幕免费mv| 日韩亚洲欧美一区二区三区| 久久视频一区二区| 在线观看亚洲a| 久久在线视频在线| 欧美一区二区视频97| 国产伦精品一区二区三区照片91 | 欧美国产日产韩国视频| 亚洲第一区中文99精品| 裸体一区二区| 免费不卡视频| 亚洲精品国产视频| 亚洲欧洲一区二区三区在线观看| 你懂的视频一区二区| 在线欧美视频| 亚洲成人自拍视频| 欧美精品aa| 亚洲综合导航| 性感少妇一区| 亚洲电影天堂av| 亚洲国产视频直播| 欧美日韩一区在线观看视频| 亚洲尤物视频在线| 欧美一级二区| 亚洲国产99| 一区二区欧美亚洲| 国模套图日韩精品一区二区| 另类天堂av| 欧美精品一区二区三区蜜桃| 夜夜嗨av一区二区三区中文字幕 | 久久视频国产精品免费视频在线| 欧美一区二区三区在线| 伊人久久婷婷| 亚洲韩国日本中文字幕| 欧美日韩一区二区三区在线视频 | 久久岛国电影| 久久亚洲综合网| 一区二区三区福利| 午夜精品视频| 亚洲精品久久久久久久久久久久| 日韩视频一区二区在线观看 | 欧美激情精品久久久久久| 亚洲午夜精品久久| 欧美在现视频| 一区二区三区日韩精品视频| 亚洲一区二区在线看| 亚洲第一页在线| 亚洲一级电影| 国产区日韩欧美| 蜜臀av性久久久久蜜臀aⅴ四虎| 久久综合激情| 亚洲一区久久久| 久久亚洲风情| 欧美在线免费一级片| 欧美成人伊人久久综合网| 午夜精品在线视频| 久久字幕精品一区| 欧美一级专区| 欧美日韩精品久久久| 久久免费精品日本久久中文字幕| 欧美日韩高清在线观看| 久久蜜桃av一区精品变态类天堂| 欧美日韩视频一区二区| 你懂的网址国产 欧美| 国产麻豆视频精品| 洋洋av久久久久久久一区| 亚洲欧洲美洲综合色网| 性做久久久久久免费观看欧美| 一个人看的www久久| 久久综合电影| 久久看片网站| 国产精品综合| 亚洲视频欧美视频| 一区二区三区精品视频| 免费看的黄色欧美网站| 老司机午夜精品| 国产综合色精品一区二区三区| 在线视频亚洲欧美| 在线中文字幕一区| 欧美精品首页| 亚洲欧洲精品一区| 亚洲伦理自拍| 欧美精品大片| 亚洲精选中文字幕| 99综合精品| 欧美日韩午夜精品| 亚洲精品之草原avav久久| 一区二区三区.www| 国产精品s色| 亚洲一区二区三区免费观看| 亚洲曰本av电影| 国产精品夜夜夜| 欧美综合激情网| 免费日韩av| 亚洲人成免费| 欧美日韩精品| 午夜精品理论片| 噜噜爱69成人精品| 亚洲人成网站在线观看播放| 欧美激情久久久| 在线亚洲欧美专区二区| 亚洲欧洲av一区二区三区久久| 国产精品无码专区在线观看 | 夜夜嗨av一区二区三区中文字幕| 99在线精品视频| 国产精品爽爽ⅴa在线观看| 欧美一级专区| 亚洲福利视频一区| 亚洲欧美久久久久一区二区三区| 国产精品推荐精品| 久久久亚洲精品一区二区三区 | 久久字幕精品一区| **欧美日韩vr在线| 欧美韩日高清| 亚洲天堂黄色| 久久久久久电影| 亚洲欧洲精品一区| 国产精品久久久久久妇女6080| 亚洲欧美变态国产另类| 免费成人你懂的| 亚洲一本视频| 伊人狠狠色j香婷婷综合| 欧美激情一区二区三区在线| 亚洲色图综合久久| 免费日韩一区二区| 亚洲综合精品| 亚洲另类一区二区| 国产一区二区中文| 欧美日韩国产成人高清视频| 久久激情一区| 中文国产成人精品| 亚洲高清一二三区| 久久精品人人做人人爽电影蜜月| 最新国产精品拍自在线播放| 国产精品一区二区久久国产| 欧美77777| 欧美中文在线观看国产| avtt综合网| 欧美激情在线狂野欧美精品| 欧美中文在线观看国产| 一本色道久久加勒比88综合| 在线看一区二区| 国产精品一区二区三区乱码| 欧美激情一区在线| 久久天堂精品| 久久精品一区二区三区四区| 亚洲午夜激情免费视频| 亚洲精品久久在线| 欧美激情视频在线免费观看 欧美视频免费一 | 亚洲激情视频在线播放| 久久久成人网| 欧美一区二区精品| 亚洲一区视频| 在线亚洲一区观看|