Started work on fine-grain profiling using sqlite (tag [profiling]).
Enable profiling in command queue.
Create database file: yhu14@sabuas1-3.lsu.eduYYYYMMDDHHMMSS20140318173620.sl3
Spliting loops between devices (debug output for the time being)
Data distribution between devices
Make memory transfert non-blocking
Codes to be discussed with Tristan
Added test 509 and updated test rig for all 5XX tests
Added offset for distributed data
Configuration of device type and num through ACC_DEVICE_TYPE and ACC_DEVICE_NUM environment variables
Added script to generate tunning space for test X09 (matrices product)
Event-based profiling is working. Next step is to improve SQL database orgnization.
Event-based profiling is working now! SQL Database orgnization has been improved.
Updated rose submodule to generate matrices product correctly.
Merge branch 'profiling' of github.com:tristanvdb/OpenACC-to-OpenCL-Compiler

Conflicts:
	libopenacc/include/OpenACC/private/runtime.h
Added a guard for uninitialized acc_runtime.opencl_data->device_data in profiling.
Reset EventIdx counter at the end of CledReleaseAllEvents as it can be called multiple time. TODO change the place where exit_profiling is called (pop_data_environment() is not a good place but I don't now when to unload the runtime) and use callback on events to update the database (clSetEventCallback)
Added missing push/pop data_environment in 501 and 509.