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

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资源网站| 老司机久久99久久精品播放免费| 蜜桃精品久久久久久久免费影院| 亚洲国产成人在线| 亚洲精品久久久久久一区二区| 日韩亚洲欧美一区| 欧美在线一级视频| 亚洲特黄一级片| 亚洲第一综合天堂另类专| 欧美激情亚洲另类| 一区二区免费看| 久久精品一区二区三区不卡| 男人的天堂亚洲在线| 国产精品不卡在线| 亚洲第一黄色网| 午夜精品久久99蜜桃的功能介绍| 久久久久久婷| 99精品视频免费观看视频| 欧美一级黄色录像| 欧美日韩成人免费| 黄色小说综合网站| 亚洲免费在线| 最近中文字幕mv在线一区二区三区四区 | 欧美色中文字幕| 国产一区二区三区久久精品| 日韩西西人体444www| 久久免费视频这里只有精品| 日韩手机在线导航| 麻豆成人精品| 黄色亚洲大片免费在线观看| 亚洲一区日韩在线| 亚洲精品国产系列| 免费h精品视频在线播放| 国产目拍亚洲精品99久久精品| 日韩视频专区| 欧美激情亚洲| 快射av在线播放一区| 国产午夜精品久久久| 亚洲综合日本| 亚洲毛片在线看| 欧美精品国产| 亚洲精品看片| 亚洲激情自拍| 欧美另类亚洲| 亚洲天堂第二页| 99在线精品视频| 欧美日韩一区三区| 亚洲一区日韩在线| 中文精品视频| 国产精品免费一区二区三区在线观看| 99视频超级精品| 亚洲另类自拍| 欧美日韩在线三区| 亚洲女性裸体视频| 亚洲一区二区三区午夜| 国产欧美精品国产国产专区| 欧美一级大片在线观看| 亚洲欧美国产日韩天堂区| 国产乱码精品| 久久精品国产2020观看福利| 午夜在线a亚洲v天堂网2018| 国产午夜精品全部视频播放| 久久免费午夜影院| 最新国产成人av网站网址麻豆| 国产亚洲亚洲| 欧美sm视频| 欧美精品三级日韩久久| 日韩视频在线免费观看| 99热精品在线观看| 国产欧美日韩精品a在线观看| 欧美一区二区在线| 久久久视频精品| 亚洲乱码久久| 亚洲欧美不卡| 亚洲国产福利在线| 亚洲精品中文字幕有码专区| 国产乱码精品一区二区三区不卡| 老司机午夜精品视频| 欧美男人的天堂| 欧美影院在线播放| 猫咪成人在线观看| 亚洲午夜激情| 久久人人九九| 亚洲尤物视频网| 久久久久久一区| 亚洲一区二区三区四区视频| 久久激情综合| 亚洲一区激情| 久久综合网络一区二区| 亚洲欧美日韩精品在线| 欧美插天视频在线播放| 欧美一级精品大片| 欧美激情1区2区3区| 性刺激综合网| 欧美精品亚洲精品| 久久久之久亚州精品露出| 欧美日韩不卡| 欧美成人免费在线观看| 国产亚洲精品久久久久婷婷瑜伽| 91久久黄色| 一区二区三区我不卡| 亚洲专区在线视频| av成人免费观看| 蜜桃av噜噜一区二区三区| 性色一区二区| 国产精品porn| 亚洲另类自拍| 日韩一区二区免费高清| 久久午夜精品| 久久久久久欧美| 国产日韩综合一区二区性色av| 一区二区三区产品免费精品久久75 | 欧美激情视频一区二区三区不卡| 国产精品第一页第二页第三页| 欧美激情偷拍| 亚洲第一级黄色片| 久久久欧美精品sm网站| 久久精品水蜜桃av综合天堂| 国产精品亚发布| 中文欧美日韩| 午夜精品美女自拍福到在线| 欧美日韩一区二区三区在线看| 亚洲黄色在线| 一本色道久久综合亚洲精品婷婷| 美女成人午夜| 亚洲国产精品久久久久秋霞不卡| 一区二区三区亚洲| 国产在线欧美日韩| 久久精品国产久精国产思思| 国产精品乱码妇女bbbb| 99av国产精品欲麻豆| 一区二区三区久久| 欧美久久久久中文字幕| 亚洲精品系列| 亚洲欧美国产高清va在线播| 国产精品海角社区在线观看| 亚洲午夜精品久久| 久久国内精品视频| 激情亚洲网站| 美女视频黄免费的久久| 91久久久久久国产精品| 中文在线一区| 国产精品爽黄69| 久久精视频免费在线久久完整在线看| 久久久久久黄| 亚洲片国产一区一级在线观看| 欧美高清在线一区| 在线性视频日韩欧美| 久久国产乱子精品免费女| 亚洲第一精品电影| 欧美三区不卡| 欧美一区二区啪啪| 亚洲成色999久久网站| 一区二区三欧美| 国产精品一区2区| 久久婷婷国产综合精品青草 | 一本色道**综合亚洲精品蜜桃冫| 欧美日韩在线不卡| 新67194成人永久网站| 欧美大色视频| 午夜精品福利视频| 在线播放一区| 欧美午夜性色大片在线观看| 久久精品中文字幕免费mv| 亚洲欧洲美洲综合色网| 久久不见久久见免费视频1| 亚洲精品国久久99热| 国产精品一区二区三区免费观看| 乱中年女人伦av一区二区| 一区二区三区久久精品| 男女精品视频| 久久不射电影网| 一区二区三区视频免费在线观看| 国产小视频国产精品| 欧美日本国产在线| 久久深夜福利免费观看| 亚洲淫片在线视频| 亚洲第一偷拍| 久久久噜噜噜久噜久久| 亚洲综合视频一区| 亚洲精品久久久久久下一站 | 国产欧美一区二区精品忘忧草| 久久一区免费| 亚洲欧美亚洲| 亚洲天堂偷拍| 日韩亚洲精品在线| 亚洲大胆人体在线| 免费h精品视频在线播放| 欧美在线播放一区| 亚洲欧美日本另类| 亚洲婷婷综合久久一本伊一区| 亚洲国产精品va在线观看黑人| 国产美女精品| 国产精品视频1区|