(xstack-intel) Locked Deque implementation

- Deque protected by a single lock for head/tail accesses
- To use it the hc-workpile.c deque type must be changed
- Refactored deque types to separate virtual and derived types

[closes task #187]

Change-Id: Ibe1712d4bf49c2d315e918e9663813b5ca36c197
(xstack-intel) OCR Apps: Updated Cholesky with MKL version

An MKL version of Cholesky is now provided to compare with
the OCR version.

Change-Id: Idd51ad79887cb4c3037584dd1f4eb7503269c076
(xstack-intel) OCR: support for multi-block FSIM

[Closes feature #208]
- Functional, tested 2-4 blocks
- Opens [see bug #222] [see bug #134] [see bug #231]
  [see bug #232] [see bug #233]

Change-Id: I5981bc0addf24f3b961fbb3b0a4ceb6309a7f5a3
(xstack-intel) OCR: Added EDT Visualizer

Edited typo

Change-Id: Id37fa1a33d63cf971c98c2d671fdca3abc1be2e7
(xstack-intel) Support to query the affinity of a GUID

[closes feature #214]

Change-Id: Ic2e55c17d24f43ee53b45a62c7517ca2a95db0c4
(xstack-intel) Minor change to make debug WARN the default

Change-Id: I8bd1d9a8f580328d2f20fc7dbdb6d37ae67abf36
(xstack-intel) Changed to not print comp status by default, enable with --ps

Change-Id: Ie0eff7d2387af7b09ca63405893fc234010b4df8
(xstack-intel) Fix leaks and one race condition in distributed-ocr

- fix various messages not deallocated
- fix race where a send is probed not ready, then its
recv is probed and is ready. Runtime thinks the comm
is done and deallocates everything, but the send op is
still in the to be probed list.
- fix uninitialized DB property access mode in DB_CREATE
message response.

[closes bug #238]

Change-Id: I520325db0c7ffa432e3b4a15eee7637381061d91
(xstack-intel) Add options for ocr-distributed ocrrun script

- OCR_NODEFILE=machinefile
- OCRRUN_GDB=yes
- OCRRUN_VALGRIND=yes
- OCRRUN_VALGRIND_OPTS=options
- Add CFLAGS_WARN_ERROR options for app makefile to ignore -Werror

[closes task #237]

Change-Id: Ia0d2b915cff2d28833860eb61005a465d5601661
(xstack-intel) Replaces custom locking with semi concurrent deque implementation

Change-Id: I0b3a14ce125cf5c742f9bd49da926998036449f6
(xstack-intel) Reworked EDT dependence frontier implementation

- Simpler implementation
- Fixes issues when mixing sticky and once

[closes bug #159]

Change-Id: Ib3b212b5b5b358c9ba6d627b5cb0e50a5f482629
(xstack-intel) Fix steal protocol for wst deque

Bug happens in the following scenario:

1- deque has >= 2 tasks
2- thief reads the tail
3- deque gets emptied (at least one pop)
4- thief reads the head
5- thief checks deque size (tail-head)
6- thief complete the steal

The check indicates the queue is not empty so the
thief proceed with cas-ing the head.
However, the deque is indeed emptied by step 3,
between the thief reading the tail and the head
(very small window I guess). So the thief reads
a stale value. As a consequence a task is executed
twice.

Credit goes to Zoran for pointing out the issue.

[closes bug #243]

Change-Id: I4625d7882ef6e78203627ad9e0df032d4e669e48
(xstack-intel) OCR App: fixed two quicksort bugs

[Closes bug #244]

Change-Id: I509b5158b9627efdfd1af8f59bfd0917d6452c8d
(xstack-intel) Batch of small cleanup/fix

- debug.h: policy-domain typedef causes issues with gcc 4.4
- tests/: added default unstable test file
- ocr-config.h: add pre-commented runtime extension
- ocrTestEls0.c: fix so that it at least compile
- regular-datablock.c: add warning when going over 64 consumer edts
- deque.c: locked deque was using wst deque not locked deque impl

[references bug #197]

Change-Id: I000c90f148af5a6a3b4f3c56179b4edf960c501a
(xstack-intel) Pass to add getCurrentEnv before using PD messages

Preliminary work for #191

[references bug #191]

Change-Id: I7d0cc36c95171c4b7513ff39369dc245db8c94ea
(xstack-intel) Fix various races for addDependence involving DBs

- Updated 2 wrong assertions
- Address race on sticky event registration

[closes bug #159]

Change-Id: I898d67c3b497ccbb88a5aebd4589d8f45a3e3ceb