| 555 | } |
| 556 | |
| 557 | cl_int FFTBinaryLookup::buildFromSource(const char * source) |
| 558 | { |
| 559 | cl_int err; |
| 560 | this->m_program = FFTBinaryLookup::buildProgramFromSource(source, |
| 561 | this->m_context, |
| 562 | this->m_device, |
| 563 | err); |
| 564 | |
| 565 | if (err != CL_SUCCESS) |
| 566 | { |
| 567 | return err; |
| 568 | } |
| 569 | |
| 570 | // write to the cache |
| 571 | this->populateCache(); |
| 572 | |
| 573 | return CL_SUCCESS; |
| 574 | } |
| 575 | |
| 576 | cl_int FFTBinaryLookup::buildFromLoadedBinary(const void * data, |
| 577 | size_t len) |
nothing calls this directly
no test coverage detected