Posts

Showing posts from December, 2017

Chủ Đề 10. Deep Learning

Chủ Đề 09. Neural Network

Chủ Đề 08. Random Forest Classification

Image

Chủ Đề 07. Decision Tree Classification

Image

Chủ Đề 06. Kernel SVM

Image

Chủ Đề 05. Support Vector Machine - SVM

Image

Chủ Đề 04. Logistic Regression

Image

Chủ Đề 03. Polynomial Regression

Image

Chủ Đề 02. Multiple Linear Regression

Chủ Đề 01. Linear Regression

Image

Home

Cùng nghiên cứu và tìm hiểu về Machine Learning Hướng dẫn phát triển python code qua các chủ đề ******************************************* Regression Chủ Đề 01. Linear Regression Chủ Đề 02. Multiple Linear Regression Chủ Đề 03. Polynomial Regression Chủ Đề 04. Logistic Regression Classification Chủ Đề 05. Support Vector Machine - SVM Chủ Đề 06. Kernel SVM Chủ Đề 07. Decision Tree Classification Chủ Đề 08. Random Forest Classification Chủ Đề 09. Neural Network Chủ Đề 10. Deep Learning

CUDA - Texture

// include system #include <stdio.h> // include CUDA #include <cuda_runtime.h> #include <helper_cuda.h> #define BLOCK_DIM 512 // use texture memory //-----------------------------------------------------// texture<unsigned char, 1 , cudaReadModeElementType>rT1;// texture<unsigned char, 1 , cudaReadModeElementType>rT2;// //-----------------------------------------------------// __global__ void Blending_Texture(unsigned char *aRS, int size){     int index = blockIdx.x * blockDim.x + threadIdx.x;         if(index < size){         //-----------------------------------------------------------------------//         aRS[index] = 0.5 * tex1Dfetch(rT1, index) + 0.5 * tex1Dfetch(rT2, index);//         //-----------------------------------------------------------------------//     } } void Blen_Device(unsigned char* aImg1, unsigned char* aImg2, unsigned char* aRS, int width, int height, int chanel){     int size = width * height * chanel