SlideShare a Scribd company logo
WEEKLY REPORT
Thur., Nov 7, 2013
Pin Yi Tsai
OUTLINE
• Current Work
• New Method
• Compute Integral Image – computeByRow

 unknown problem
• How to Debug?
 Nsight
NEW METHOD
• Previous Version:
• One line per thread
• Take too much time on accessing inconsistent memory
• New one:
• One pixel per thread
• Using shared memory to store the middle value
NEW METHOD (CONT.)

• Shared memory: store the values of the previous line
• computing by Row for img[*][y] and img[*][y+1]
• Time t: calculate img[*][y] + shared memory[*]

• Then store the result back to shared memory[*]
• Time t+1: calculate img[*][y+1] + shared memory[*]
COMPUTE INTEGRAL IMAGE – COMPUTE_BY_ROW
• Original Input
COMPUTE INTEGRAL IMAGE (CONT.)
• Correct Output – Compute By Row
COMPUTE INTEGRAL IMAGE (CONT.)
• With problems
HOW TO DEBUG ?
• Nsight
─ an IDE for developers building CUDA application
─ able to Profile and observe the value of each thread
• In process:
• Compile with custom makefile
HOW TO DEBUG ? (CONT.)
The End

More Related Content

PPTX
20131114
PPTX
Universal Image Loader: Story, Architecture, FAQ
PPTX
20131002
PPTX
20131024
PPTX
Hedland Variable Area Flow Meters
POT
Macnaught MX Series of Oval Gear Flow Meters
PPTX
20131121
PPT
Blancett Turbine Flow Meters
20131114
Universal Image Loader: Story, Architecture, FAQ
20131002
20131024
Hedland Variable Area Flow Meters
Macnaught MX Series of Oval Gear Flow Meters
20131121
Blancett Turbine Flow Meters

Viewers also liked (16)

PPTX
20140109
PPTX
20131219
PPT
Electromagnetic Flow Meters Overview (Badger Meter)
PDF
Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...
PPTX
The DXN Portable Ultrasonic Flow Meter
PPT
Vortex Flow Meters- Badger Meter
PPTX
Hydraulic Turbine Flow Meters (flo-tech)
PDF
VuHeat Ultrasonic Heat Meters Datasheets
PPTX
20131212
DOCX
DOCX
PPTX
RDM services: an opportunity for libraries
PDF
Risk mapping - Practical example in 5 steps, Kjell Larsson, Algiers 8-9 April...
PDF
ประวัติส่วนตัวงานคอม
PDF
Declaración por escrito del Estado Plurinacional de Bolivia en la excepción p...
PPT
Michael Skynner - 'Aunando esfuerzos para el futuro de la investigación en en...
20140109
20131219
Electromagnetic Flow Meters Overview (Badger Meter)
Pricelist Zubit Life Care - PCD Pharma Company | PCD Pharma Franchise | Pharm...
The DXN Portable Ultrasonic Flow Meter
Vortex Flow Meters- Badger Meter
Hydraulic Turbine Flow Meters (flo-tech)
VuHeat Ultrasonic Heat Meters Datasheets
20131212
RDM services: an opportunity for libraries
Risk mapping - Practical example in 5 steps, Kjell Larsson, Algiers 8-9 April...
ประวัติส่วนตัวงานคอม
Declaración por escrito del Estado Plurinacional de Bolivia en la excepción p...
Michael Skynner - 'Aunando esfuerzos para el futuro de la investigación en en...
Ad

Recently uploaded (20)

PPTX
Modernising the Digital Integration Hub
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PPT
What is a Computer? Input Devices /output devices
PDF
project resource management chapter-09.pdf
PPTX
Tartificialntelligence_presentation.pptx
PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
The various Industrial Revolutions .pptx
PDF
Architecture types and enterprise applications.pdf
PDF
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
PPTX
TLE Review Electricity (Electricity).pptx
PDF
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
O2C Customer Invoices to Receipt V15A.pptx
PDF
A comparative study of natural language inference in Swahili using monolingua...
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PDF
August Patch Tuesday
PDF
Getting started with AI Agents and Multi-Agent Systems
PPTX
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
PPTX
1. Introduction to Computer Programming.pptx
Modernising the Digital Integration Hub
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
What is a Computer? Input Devices /output devices
project resource management chapter-09.pdf
Tartificialntelligence_presentation.pptx
OMC Textile Division Presentation 2021.pptx
The various Industrial Revolutions .pptx
Architecture types and enterprise applications.pdf
2021 HotChips TSMC Packaging Technologies for Chiplets and 3D_0819 publish_pu...
TLE Review Electricity (Electricity).pptx
From MVP to Full-Scale Product A Startup’s Software Journey.pdf
Assigned Numbers - 2025 - Bluetooth® Document
Programs and apps: productivity, graphics, security and other tools
O2C Customer Invoices to Receipt V15A.pptx
A comparative study of natural language inference in Swahili using monolingua...
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
August Patch Tuesday
Getting started with AI Agents and Multi-Agent Systems
MicrosoftCybserSecurityReferenceArchitecture-April-2025.pptx
1. Introduction to Computer Programming.pptx
Ad

20131107

  • 1. WEEKLY REPORT Thur., Nov 7, 2013 Pin Yi Tsai
  • 2. OUTLINE • Current Work • New Method • Compute Integral Image – computeByRow  unknown problem • How to Debug?  Nsight
  • 3. NEW METHOD • Previous Version: • One line per thread • Take too much time on accessing inconsistent memory • New one: • One pixel per thread • Using shared memory to store the middle value
  • 4. NEW METHOD (CONT.) • Shared memory: store the values of the previous line • computing by Row for img[*][y] and img[*][y+1] • Time t: calculate img[*][y] + shared memory[*] • Then store the result back to shared memory[*] • Time t+1: calculate img[*][y+1] + shared memory[*]
  • 5. COMPUTE INTEGRAL IMAGE – COMPUTE_BY_ROW • Original Input
  • 6. COMPUTE INTEGRAL IMAGE (CONT.) • Correct Output – Compute By Row
  • 7. COMPUTE INTEGRAL IMAGE (CONT.) • With problems
  • 8. HOW TO DEBUG ? • Nsight ─ an IDE for developers building CUDA application ─ able to Profile and observe the value of each thread • In process: • Compile with custom makefile
  • 9. HOW TO DEBUG ? (CONT.)