Generic interface to compile an openCL program
Compile program source on context ctx
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(fclContext), | intent(in), | target | :: | ctx | ||
| character(len=*), | intent(in) | :: | source |
Program source code |
||
| character(len=*), | intent(in), | optional | :: | options |
OpenCL compilation options |
Returns fclProgram object
Compile program source on fclDefaultContext
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | source |
Program source code |
||
| character(len=*), | intent(in), | optional | :: | options |
OpenCL compilation options |
Returns fclProgram object