Source Level Debugger - adding notifications

- notifySourceCode, notifyKernelDebugData, notifyDeviceDestruction
- added processDebugData method in Program
- change options when SLD is active
- add space at the beginning of extension list options

Change-Id: Iac1e52f849544dbfda62407e112cde83fa94e3ad
This commit is contained in:
Hoppe, Mateusz
2018-05-02 14:27:55 +02:00
committed by sys_ocldev
parent cec056f3c4
commit b59a5f1910
23 changed files with 547 additions and 43 deletions

View File

@@ -39,16 +39,28 @@ bool SourceLevelDebugger::isDebuggerActive() {
return false;
}
void SourceLevelDebugger::notifyNewDevice(uint32_t deviceHandle) const {
bool SourceLevelDebugger::notifyNewDevice(uint32_t deviceHandle) {
return false;
}
void SourceLevelDebugger::notifySourceCode(uint32_t deviceHandle, const char *sourceCode, size_t size) const {
bool SourceLevelDebugger::notifyDeviceDestruction() {
return false;
}
bool SourceLevelDebugger::notifySourceCode(const char *sourceCode, size_t size, std::string &filename) const {
return false;
}
bool SourceLevelDebugger::isOptimizationDisabled() const {
return false;
}
void SourceLevelDebugger::notifyKernelDebugData(uint32_t deviceHandle, const KernelInfo *kernelInfo) const {
bool SourceLevelDebugger::notifyKernelDebugData(const KernelInfo *kernelInfo) const {
return false;
}
void SourceLevelDebugger::initialize(bool useLocalMemory) {
bool SourceLevelDebugger::initialize(bool useLocalMemory) {
return false;
}
} // namespace OCLRT