Giter Club home page Giter Club logo

emdc_llvm's People

Contributors

akyrtzi avatar arsenm avatar chandlerc avatar chapuni avatar d0k avatar ddunbar avatar douggregor avatar dwblaikie avatar echristo avatar eefriedman avatar ericwf avatar espindola avatar isanbard avatar jdevlieghere avatar labath avatar lattner avatar lebedevri avatar lhames avatar maskray avatar nico avatar resistor avatar rksimon avatar rnk avatar rotateright avatar rui314 avatar stoklund avatar tkremenek avatar tobiasgrosser avatar topperc avatar zygoloid avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

emdc_llvm's Issues

Question regarding Nsight profiler result

According to "benchmarks/cuda/src/cuda.nvprof", cudaFree takes up most of the execution time. Is this because the time includes the cudaMemsetAsync calls after the initial cudaMemset call?
Is there a way to estimate the execution time for the asynchronous calls and cudaFree call?

Scheduling policy

I think there is some performance degradation to each task because of the interference caused by task co-location. Is this okay?

Significance of 1GB for Allocation

(as well as benchmarks/full_interference/src/main.cu)

For these files, 1GB is used for allocation. Is there a reason why this size was used and not some other size like 2GB or 4GB (like in #14)?

Confused about polybench version

In benchmarks/pt/polybench-gpu-1.0/README.txt, there is a sentence "The codes are based on PolyBench 2.0 (with the exception of convolution which isn't part of PolyBench 2.0).".
I'm confused with directory name(polybench-gpu-1.0) and sentence(polybench 2.0).
Which polybench version is this program use?

The codes are based on PolyBench 2.0 (with the exception of convolution which isn't part of PolyBench 2.0).

Unused file in cuda_docker

In EMDC_llvm/devops/openwhisk/cuda_docker,
There are several files that seem unnecessary. (e.g., hello.c, index.html, ...)
Do they have another purposes?

Eager Free insertion

In benchmark codes of eager_sched/eager_free/benchmark, does programmer need to insert pre_bemps_free manually?

Fixed values in 2Dconvolution

In benchmarks/pt/polybench-gpu-1.0/CUDA/2DCONV/2DConvolution.cu, there are fixed values(c11 = +0.2, c21 = +0.5, ...).
Is there any reason about it?

c11 = +0.2;  c21 = +0.5;  c31 = -0.8;
c12 = -0.3;  c22 = +0.6;  c32 = -0.9;
c13 = +0.4;  c23 = +0.7;  c33 = +0.10;

Array size

In devops/openwhisk/cuda_template/main.cu, there is an array which size is sizeof(float) * 1024 * 1024.
Is there any reason about it?

#include <stdio.h>
#include <stdlib.h>
#include <cuda.h>

__global__ void hello(float* input){

	input[threadIdx.x] = 0.0f;
	printf("Hello OW CUDA!");
	
}


int main() {
	float *h_arr, *d_arr;
	size_t alloc_size = sizeof(float)*1024*1024;
	
	h_arr = (float*) malloc(alloc_size);
	cudaMalloc((void**)&d_arr, alloc_size);

	cudaMemcpy(d_arr, h_arr, alloc_size, cudaMemcpyHostToDevice);

	hello<<<1,1>>>(d_arr);
	cudaDeviceSynchronize();

	cudaMemcpy(h_arr,d_arr, alloc_size, cudaMemcpyDeviceToHost);

	cudaFree(d_arr);
	free(h_arr);

	printf("OW CUDA!");
	//std::cout << "{\"msg\": \"The results are correct!\"}";

	return 0;
}

UM based task

Is the only task that was eager launched written based on UM?

Using 2GB instead of 4GB in sa.cu

GB_2 and GB_4 are defined, but only GB_2. Is there any significance with using 2GB and not some other size for allocation in this benchmark?

#define GB_2 2147483648
#define GB_4 4294967296

C compiler version

In benchmark/MMAP/src/Makefile, there is a makefile.
Is there any reason about compiling program with c++14? If we use lower version, it can be a problem?

vector_example: vector_main.cpp cuvector.cpp
	$(NVCC) $^ -o $@ -lcuda -std=c++14

sync_example: sync_main.cu
	$(NVCC) $^ -o $@ -lcuda -std=c++14

The number of Eager Launch task

In eager_sched/sched.cpp, it seems there is only one Eager Launch task per GPU. Why is there only one Eager Launch task per GPU?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.