aclrtcGetCompileLog
Product Support
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
|
x |
Function
Obtains the content of the compilation log and saves it as a string.
Prototype
1 | aclError aclrtcGetCompileLog(aclrtcProg prog, char *log) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
prog |
Input |
Handle to the program to be compiled at runtime. |
log |
Output |
Content of the compilation log, which is saved as a string. |
Returns
aclError is of the int type. For details, see RTC Error Codes.
Restrictions
None
Example
1 2 3 4 5 | aclrtcProg prog; size_t logSize; aclrtcGetCompileLogSize(prog, &logSize); char* log = (char*)malloc(logSize); aclError result = aclrtcGetCompileLog(prog, log); |
Parent topic: RTC