* Create a new program. * Note that this call merely creates a program object. The actual compilation and link happens at a later time. * @param[in] pDevice GPU device. * @param[in] desc The program description. * @param[in] programDefines Optional list of macro definitions to set into the program. * @return A new object, or an exception is thrown if creation failed.
| 586 | * @return A new object, or an exception is thrown if creation failed. |
| 587 | */ |
| 588 | static ref<Program> create(ref<Device> pDevice, ProgramDesc desc, DefineList programDefines = {}) |
| 589 | { |
| 590 | return make_ref<Program>(std::move(pDevice), std::move(desc), std::move(programDefines)); |
| 591 | } |
| 592 | |
| 593 | /** |
| 594 | * Create a new compute program from file. |
no outgoing calls
no test coverage detected