| 53 | } |
| 54 | |
| 55 | Program::Program(roc::NullDevice& device, amd::Program& owner) : device::Program(device, owner) { |
| 56 | hsaExecutable_.handle = 0; |
| 57 | hsaCodeObjectReader_.handle = 0; |
| 58 | isHIP_ = (owner.language() == amd::Program::HIP); |
| 59 | } |
| 60 | |
| 61 | bool Program::initClBinary(char* binaryIn, size_t size) { |
| 62 | // Save the original binary that isn't owned by ClBinary |