OCR User Hints API Rob, Sanjay, Zoran. Motivation for OCR user hints API Create a facility for the OCR application developer to provide application specific.

Slides:



Advertisements
Similar presentations
1 TL Energizing The Team Space Paradox: great team players are excellent individual performers The Team Space: Highest Purpose Customer Service Basic Values.
Advertisements

Module 9 – Team Member Home Screen. 2 Selected Menu Option Screens Team Member Home Screen - The Team Member Home screen contains your schedule and priorities,
Do not use the first Task to define the Project Start Date Project always calculates from Project Start (Finish) Date Schedule from Project Finish.
C Language.
© 2004, D. J. Foreman 1 Scheduling & Dispatching.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 4: Multithreaded Programming.
Silberschatz, Galvin and Gagne ©2009Operating System Concepts – 8 th Edition Chapter 4: Threads.
Spark: Cluster Computing with Working Sets
1 Registers and MAL - Part I. Motivation So far there are some details that we have ignored instructions can have different formats most computers have.
Phase Difference = Phase Difference = 0.05.
Silberschatz, Galvin and Gagne ©2009Operating System Concepts – 8 th Edition Chapter 4: Threads.
Chapter 4: Threads READ 4.1 & 4.2 NOT RESPONSIBLE FOR 4.3 &
12.1 Exceptions The limitations of traditional methods of exception handling Error conditions are a certainty in programming Programmers make.
Inheritance and Polymorphism CS351 – Programming Paradigms.
EPAM Private Cloud Management tools on UI June, 2015.
Formal Techniques for Verification Using SystemC By Nasir Mahmood.
Creating Hierarchical Drill Downs for Flex Charts Dan Carotenuto Service Director, Product Marketing Copyright 2010, Information Builders. Slide 1.
Lecture 6 – Form processing (Part 1) SFDV3011 – Advanced Web Development 1.
Parallel Programming in Java with Shared Memory Directives.
CSM-Java Programming-I Spring,2005 Introduction to Objects and Classes Lesson - 1.
CSM-Java Programming-I Spring,2005 Objects and Classes Overview Lesson - 1.
國立台灣大學 資訊工程學系 Chapter 4: Threads. 資工系網媒所 NEWS 實驗室 Objectives To introduce the notion of a thread — a fundamental unit of CPU utilization that forms the.
14.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts with Java – 8 th Edition Chapter 4: Threads.
Silberschatz, Galvin and Gagne ©2011Operating System Concepts Essentials – 8 th Edition Chapter 4: Threads.
2-Oct-15 Bojan Orlic, TU/e Informatica, System Architecture and Networking 12-Oct-151 Homework assignment 1 feedback Bojan Orlic Architecture.
Putting it all together: LINQ as an Example. The Problem: SQL in Code Programs often connect to database servers. Database servers only “speak” SQL. Programs.
Memory Allocations for Tiled Uniform Dependence Programs Tomofumi Yuki and Sanjay Rajopadhye.
A SPMD Model for OCR (with collectives) Sanjay Chatterjee 2/9/2015 Intel Confidential1.
Exascale Programming Models Lecture Series 06/12/2014 What is OCR? TG Team (presenter: Romain Cledat) June 12,
CS 346 – Chapter 4 Threads –How they differ from processes –Definition, purpose Threads of the same process share: code, data, open files –Types –Support.
Memory Management Issues, Solutions, and Examples.
Chapter 4: Threads. 2 Overview Multithreading Models Threading Issues Pthreads Windows XP Threads Linux Threads.
Overview Task State Diagram Task Priority Idle Hook AND Co-Routines
Sadegh Aliakbary Sharif University of Technology Spring 2011.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 4: Threads Modified from the slides of the text book. TY, Sept 2010.
Accessing XML Documents Using DOM ©NIITeXtensible Markup Language/Lesson 8/Slide 1 of 23 Objectives In this lesson, you will learn to: * Use XML DOM objects.
Javascript Overview. What is Javascript? May be one of the most popular programming languages ever Runs in the browser, not on the server All modern browsers.
Repeated pattern hints Original plan: attach all EDT hints to the EDT template; there is no field in the ocrEdtCreate call for hints Observation: 1 repeated.
U of Minnesota DIWANS'061 Energy-Aware Scheduling with Quality of Surveillance Guarantee in Wireless Sensor Networks Jaehoon Jeong, Sarah Sharafkandi and.
A SPMD Model for OCR Sanjay Chatterjee 2/9/2015 Intel Confidential1.
MTA EXAM HTML5 Application Development Fundamentals.
JavaScript Arrays, Functions, and Forms George Mason University.
Projections - A Step by Step Tutorial By Chee Wai Lee For the 2004 Charm++ Workshop.
Microsoft ® Official Course Module 6 Managing Software Distribution and Deployment by Using Packages and Programs.
Functions Dilshad M. Shahid New York
OCR hints All of Mark’s suggestions are on the mark – (no pun intended) Scheduling hints – Temporal affinity – Device affinity – Priority – Concurrency.
1 Lecture 19: Unix signals and Terminal management n what is a signal n signal handling u kernel u user n signal generation n signal example usage n terminal.
1 Minggu 6, Pertemuan 12 Query Processing Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
CSC 205 Programming II Lecture 4 Abstract Class. The abstract keyword indicate that a class is not instantiable Defining a type which will be specialized.
? Is my application available? Is my application performing? Is my application succeeding?
Silberschatz, Galvin and Gagne ©2009Operating System Concepts – 8 th Edition Chapter 4: Threads.
Threads prepared and instructed by Shmuel Wimer Eng. Faculty, Bar-Ilan University 1July 2016Processes.
Chandra S. Martha Min Lee 02/10/2016
PROCESS MANAGEMENT IN MACH
Chapter 4: Threads.
SyDEVS Introduction Theory – Paradigm – Implementation
How to add tickets to an event for members of the public
METHODS AND BEHAVIORS AKEEL AHMED.
A Comparison Study of Process Scheduling in FreeBSD, Linux and Win2k
Tutorial 12 – Security Panel Application Introducing the Select Case Multiple-Selection Statement Outline Test-Driving the Security Panel Application.
Week 7 March 8 SQL: Chronological Sort, SUBSTRing, ROUND
Managing Data by Using NTFS
Modified by H. Schulzrinne 02/15/10 Chapter 4: Threads.
Managing Data by Using NTFS
Warm Up: English Conversion Problem
Outline Review of Quiz #1 Distributed File Systems 4/20/2019 COP5611.
Nemo5 automatic documentation
Chapter 4: Threads.
CHAPTER FOUR VARIABLES AND CONSTANTS
Presentation transcript:

OCR User Hints API Rob, Sanjay, Zoran

Motivation for OCR user hints API Create a facility for the OCR application developer to provide application specific information to the runtime as hints A valid OCR program does not depend on the presence of hints OCR hints are always optional The runtime may use OCR user hints to help with the execution of the program E.g: the scheduler may choose to ignore some user hints

OCR User Hints API Overview Example usage: ocrHint_t myHint; ocrHintInit(&myHint); ocrSetHintProperty(&myHint, ….); ocrSetHint(destGuid, &myHint); User hints in OCR are variables of type ocrHint_t ( e.g. ocrHint_t myHint; ) u8 ocrHintInit(ocrHint_t *hint); Initializes hint u8 ocrSetHintProperty(ocrHint_t *hint, ocrHintProp_t hintProperty, void *value); sets a specific property to the hint u8 ocrGetHintProperty(ocrHint_t *hint, ocrHintProp_t hintProperty, void *value); reads a specific property from the hint u8 ocrSetHint(ocrGuid_t guid, ocrHint_t *hint); sets the hint for an OCR guid object u8 ocrGetHint(ocrGuid_t guid, ocrHint_t *hint); Gets the hints from an OCR guid object

OCR Affinity Groups OCR affinity groups are containers for a group of EDTs / DBs / Events and other affinity groups The user can specify hints for all members belonging to that affinity group API u8 ocrAffinityCreate(ocrGuid_t * affinityGuid, ocrGuid_t parentGuid, u32 property); Create an affinity guid u8 ocrSetAffinity(ocrGuid_t dstDuid, ocrGuid_t affinityGuid); Sets the affinity for another EDT/DB/Event (dstGuid) If dstGuid is another affinity guid, then dstGuid’s parent is set to be affinityGuid u8 ocrGetAffinity(ocrGuid_t dstGuid, ocrGuid_t * affinityGuid); Get the associated affinity guid from dstGuid If dstGuid is of affinity type, then its parent is returned

OCR hints for temporal locality and bandwidth/compute bounds Zoran

Temporal locality Grouping EDTs that work on the same data “together” to take advantage of warm caches only makes sense if they are close in BOTH space and time Introduce a notion of time: phases ocrGuid_t affinityGuid, edt1, edt2, thisguid; ocrHint_t myHint, thisHint; u64 curPhase; ocrHintInit(&myHint); ocrGetHint(thisguid, &thisHint); ocrGetHintProperty(&thisHint, OCR_HINT_PROP_AFFINITY_PHASE, (void*)&curPhase); // create a phase hint for current phase + 5 u64 newPhase = curPhase + 5; // phase is always relative ocrSetHintProperty(&myHint, OCR_HINT_PROP_AFFINITY_PHASE, (void*)&newPhase); ocrAffinityCreate(&affinityGuid, NULL_GUID, 0); ocrSetHint(affinityGuid, &myHint); ocrEdtCreate(&edt1,…, affinityGuid, …); ocrEdtCreate(&edt2,…, affinityGuid, …);