SlideShare a Scribd company logo
1 of 8
WEEKLY REPORT
Thur., Oct 24, 2013
Pin Yi Tsai
OUTLINE
• Current Work
• Compute Integral Image – parallel version
• Why the difference is so implicit?
• An accidental Error

• In Process
• Compute 11 types of Features
COMPUTE INTEGRAL IMAGE – PARALLEL VERSION
• Computation and communication time

 input 16x16:
 serial version: 0.006336 ms
 for loop outside of kernel function:

 parallel version: 6.80778 ms
 for loop inside of kernel function:
 parallel version: 5.88559e-39 ms
COMPUTE INTEGRAL IMAGE (CONT.)
 input 640x480:

 serial version: 5.1607 ms
 parallel version: 4.94058 ms
WHY THE DIFFERENCE IS SO IMPLICIT?
• Profile:
Time : 4.91024 ms
======== Profiling result:
Time(%)
71.71

Time Calls
2.75ms

1

Avg
2.75ms

Min
2.75ms

Max Name
2.75ms computeByColumn(float*, int)

10.91 418.56us

2 209.28us 209.06us 209.50us [CUDA memcpy HtoD]

10.08 386.46us

2 193.23us 191.10us 195.36us [CUDA memcpy DtoH]

7.31 280.22us
int)

1 280.22us 280.22us 280.22us computeByRow(float*, int,

 Access the inconsistent memory
 Memory Access is too time-consuming
AN ACCIDENTAL ERROR
• Occurred when copy data from Mat to one-dimension float array

0 175 175 175 175 175
0 174 174 174 174 174
6.78807e-29 175 175 175 175 175
0 175 175 175 175 175
0 175 175 175 175 175
6.79909e-29 134 151 158 136 142
0 138 132 135 140 135
6.80354e-29 136 136 143 142 137
AN ACCIDENTAL ERROR (CONT.)
• Why?

•

memset(ar,0,sizeof(float)*(image1.step+1)*(image1.rows+1));

• The size is not correct.
The End

More Related Content

Viewers also liked

JEEVAN.KHOT_BE _MECH_ENGG
JEEVAN.KHOT_BE _MECH_ENGGJEEVAN.KHOT_BE _MECH_ENGG
JEEVAN.KHOT_BE _MECH_ENGG
jeevan khot
 
The Little Foxes College Night Release
The Little Foxes College Night ReleaseThe Little Foxes College Night Release
The Little Foxes College Night Release
Meara Brady
 
Teaching Summit - oGIP EP Backgrounds and Target Markets
Teaching Summit - oGIP EP Backgrounds and Target MarketsTeaching Summit - oGIP EP Backgrounds and Target Markets
Teaching Summit - oGIP EP Backgrounds and Target Markets
Bun Socheata
 
AND.©OFFICE..the advertising design and brand identity agency.©Copyright2015
AND.©OFFICE..the advertising design and brand identity agency.©Copyright2015AND.©OFFICE..the advertising design and brand identity agency.©Copyright2015
AND.©OFFICE..the advertising design and brand identity agency.©Copyright2015
Eric Nuijten
 

Viewers also liked (20)

20131121
2013112120131121
20131121
 
Blancett Turbine Flow Meters
Blancett Turbine Flow MetersBlancett Turbine Flow Meters
Blancett Turbine Flow Meters
 
20140109
2014010920140109
20140109
 
20131219
2013121920131219
20131219
 
Electromagnetic Flow Meters Overview (Badger Meter)
Electromagnetic Flow Meters Overview (Badger Meter)Electromagnetic Flow Meters Overview (Badger Meter)
Electromagnetic Flow Meters Overview (Badger Meter)
 
Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...
Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...
Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...
 
The DXN Portable Ultrasonic Flow Meter
The DXN Portable Ultrasonic Flow MeterThe DXN Portable Ultrasonic Flow Meter
The DXN Portable Ultrasonic Flow Meter
 
Vortex Flow Meters- Badger Meter
Vortex Flow Meters- Badger MeterVortex Flow Meters- Badger Meter
Vortex Flow Meters- Badger Meter
 
Hydraulic Turbine Flow Meters (flo-tech)
Hydraulic Turbine Flow Meters (flo-tech)Hydraulic Turbine Flow Meters (flo-tech)
Hydraulic Turbine Flow Meters (flo-tech)
 
VuHeat Ultrasonic Heat Meters Datasheets
VuHeat Ultrasonic Heat Meters DatasheetsVuHeat Ultrasonic Heat Meters Datasheets
VuHeat Ultrasonic Heat Meters Datasheets
 
20131212
2013121220131212
20131212
 
20131114
2013111420131114
20131114
 
Etica del contador
Etica del contadorEtica del contador
Etica del contador
 
토토추천 ###too93.com### 토토추천 토토추천
토토추천 ###too93.com### 토토추천 토토추천토토추천 ###too93.com### 토토추천 토토추천
토토추천 ###too93.com### 토토추천 토토추천
 
JEEVAN.KHOT_BE _MECH_ENGG
JEEVAN.KHOT_BE _MECH_ENGGJEEVAN.KHOT_BE _MECH_ENGG
JEEVAN.KHOT_BE _MECH_ENGG
 
The Little Foxes College Night Release
The Little Foxes College Night ReleaseThe Little Foxes College Night Release
The Little Foxes College Night Release
 
Teaching Summit - oGIP EP Backgrounds and Target Markets
Teaching Summit - oGIP EP Backgrounds and Target MarketsTeaching Summit - oGIP EP Backgrounds and Target Markets
Teaching Summit - oGIP EP Backgrounds and Target Markets
 
Declaración por escrito del Estado Plurinacional de Bolivia en la excepción p...
Declaración por escrito del Estado Plurinacional de Bolivia en la excepción p...Declaración por escrito del Estado Plurinacional de Bolivia en la excepción p...
Declaración por escrito del Estado Plurinacional de Bolivia en la excepción p...
 
ไวยกรณ์ต้องรู้สำหรับสอบวัดระดับ3
ไวยกรณ์ต้องรู้สำหรับสอบวัดระดับ3ไวยกรณ์ต้องรู้สำหรับสอบวัดระดับ3
ไวยกรณ์ต้องรู้สำหรับสอบวัดระดับ3
 
AND.©OFFICE..the advertising design and brand identity agency.©Copyright2015
AND.©OFFICE..the advertising design and brand identity agency.©Copyright2015AND.©OFFICE..the advertising design and brand identity agency.©Copyright2015
AND.©OFFICE..the advertising design and brand identity agency.©Copyright2015
 

Similar to 20131024

Low latency & mechanical sympathy issues and solutions
Low latency & mechanical sympathy  issues and solutionsLow latency & mechanical sympathy  issues and solutions
Low latency & mechanical sympathy issues and solutions
Jean-Philippe BEMPEL
 
Predicting Optimal Parallelism for Data Analytics
Predicting Optimal Parallelism for Data AnalyticsPredicting Optimal Parallelism for Data Analytics
Predicting Optimal Parallelism for Data Analytics
Databricks
 

Similar to 20131024 (20)

NVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflow
NVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflowNVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflow
NVIDIA 深度學習教育機構 (DLI): Image segmentation with tensorflow
 
Toronto meetup 20190917
Toronto meetup 20190917Toronto meetup 20190917
Toronto meetup 20190917
 
Adaptive Query Execution: Speeding Up Spark SQL at Runtime
Adaptive Query Execution: Speeding Up Spark SQL at RuntimeAdaptive Query Execution: Speeding Up Spark SQL at Runtime
Adaptive Query Execution: Speeding Up Spark SQL at Runtime
 
Ehsan parallel accelerator-dec2015
Ehsan parallel accelerator-dec2015Ehsan parallel accelerator-dec2015
Ehsan parallel accelerator-dec2015
 
Ask the expert - App performance on Series 40 phones
Ask the expert - App performance on Series 40 phonesAsk the expert - App performance on Series 40 phones
Ask the expert - App performance on Series 40 phones
 
Spark Summit EU talk by Nick Pentreath
Spark Summit EU talk by Nick PentreathSpark Summit EU talk by Nick Pentreath
Spark Summit EU talk by Nick Pentreath
 
Accelerate Machine Learning on Google Cloud
Accelerate Machine Learning on Google CloudAccelerate Machine Learning on Google Cloud
Accelerate Machine Learning on Google Cloud
 
Oracle Database In-Memory Option in Action
Oracle Database In-Memory Option in ActionOracle Database In-Memory Option in Action
Oracle Database In-Memory Option in Action
 
In Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry OsborneIn Memory Database In Action by Tanel Poder and Kerry Osborne
In Memory Database In Action by Tanel Poder and Kerry Osborne
 
Performance Optimization of Deep Learning Frameworks Caffe* and Tensorflow* f...
Performance Optimization of Deep Learning Frameworks Caffe* and Tensorflow* f...Performance Optimization of Deep Learning Frameworks Caffe* and Tensorflow* f...
Performance Optimization of Deep Learning Frameworks Caffe* and Tensorflow* f...
 
Using The New Flash Stage3D Web Technology To Build Your Own Next 3D Browser ...
Using The New Flash Stage3D Web Technology To Build Your Own Next 3D Browser ...Using The New Flash Stage3D Web Technology To Build Your Own Next 3D Browser ...
Using The New Flash Stage3D Web Technology To Build Your Own Next 3D Browser ...
 
Low latency & mechanical sympathy issues and solutions
Low latency & mechanical sympathy  issues and solutionsLow latency & mechanical sympathy  issues and solutions
Low latency & mechanical sympathy issues and solutions
 
SPARKNaCl: A verified, fast cryptographic library
SPARKNaCl: A verified, fast cryptographic librarySPARKNaCl: A verified, fast cryptographic library
SPARKNaCl: A verified, fast cryptographic library
 
Sathya Final review
Sathya Final reviewSathya Final review
Sathya Final review
 
Predicting Optimal Parallelism for Data Analytics
Predicting Optimal Parallelism for Data AnalyticsPredicting Optimal Parallelism for Data Analytics
Predicting Optimal Parallelism for Data Analytics
 
What’s eating python performance
What’s eating python performanceWhat’s eating python performance
What’s eating python performance
 
Python高级编程(二)
Python高级编程(二)Python高级编程(二)
Python高级编程(二)
 
MIT's experience on OpenPOWER/POWER 9 platform
MIT's experience on OpenPOWER/POWER 9 platformMIT's experience on OpenPOWER/POWER 9 platform
MIT's experience on OpenPOWER/POWER 9 platform
 
Reproducible Computational Pipelines with Docker and Nextflow
Reproducible Computational Pipelines with Docker and NextflowReproducible Computational Pipelines with Docker and Nextflow
Reproducible Computational Pipelines with Docker and Nextflow
 
2018 03 25 system ml ai and openpower meetup
2018 03 25 system ml ai and openpower meetup2018 03 25 system ml ai and openpower meetup
2018 03 25 system ml ai and openpower meetup
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

20131024

  • 1. WEEKLY REPORT Thur., Oct 24, 2013 Pin Yi Tsai
  • 2. OUTLINE • Current Work • Compute Integral Image – parallel version • Why the difference is so implicit? • An accidental Error • In Process • Compute 11 types of Features
  • 3. COMPUTE INTEGRAL IMAGE – PARALLEL VERSION • Computation and communication time  input 16x16:  serial version: 0.006336 ms  for loop outside of kernel function:  parallel version: 6.80778 ms  for loop inside of kernel function:  parallel version: 5.88559e-39 ms
  • 4. COMPUTE INTEGRAL IMAGE (CONT.)  input 640x480:  serial version: 5.1607 ms  parallel version: 4.94058 ms
  • 5. WHY THE DIFFERENCE IS SO IMPLICIT? • Profile: Time : 4.91024 ms ======== Profiling result: Time(%) 71.71 Time Calls 2.75ms 1 Avg 2.75ms Min 2.75ms Max Name 2.75ms computeByColumn(float*, int) 10.91 418.56us 2 209.28us 209.06us 209.50us [CUDA memcpy HtoD] 10.08 386.46us 2 193.23us 191.10us 195.36us [CUDA memcpy DtoH] 7.31 280.22us int) 1 280.22us 280.22us 280.22us computeByRow(float*, int,  Access the inconsistent memory  Memory Access is too time-consuming
  • 6. AN ACCIDENTAL ERROR • Occurred when copy data from Mat to one-dimension float array 0 175 175 175 175 175 0 174 174 174 174 174 6.78807e-29 175 175 175 175 175 0 175 175 175 175 175 0 175 175 175 175 175 6.79909e-29 134 151 158 136 142 0 138 132 135 140 135 6.80354e-29 136 136 143 142 137
  • 7. AN ACCIDENTAL ERROR (CONT.) • Why? • memset(ar,0,sizeof(float)*(image1.step+1)*(image1.rows+1)); • The size is not correct.