Files
rocm-systems/samples/hsailUtil/assemble.hpp
T
Ramesh Errabolu (xN/A) TX 21449d717f ECR #333755 - Add helper files to load Hsail Text files and assembled them into Brig files.
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1127109]
2015-03-03 19:41:56 -05:00

33 lines
605 B
C++

#ifndef ASSEMBLE_HPP_
#define ASSEMBLE_HPP_
#include <cstdint>
#include "hsa.h"
#include "hsa_ext_alt_finalize.h"
hsa_status_t ModuleCreateFromHsailTextFile(
const char *hsail_text_filename,
hsa_ext_alt_module_t *module
);
hsa_status_t ModuleCreateFromHsailString(
const char *hsail_string,
hsa_ext_alt_module_t *module
);
hsa_status_t ModuleDestroy(
hsa_ext_alt_module_t module
);
hsa_status_t ModuleValidate(
hsa_ext_alt_module_t module,
uint32_t *result
);
hsa_status_t ModuleDisassemble(
hsa_ext_alt_module_t module,
const char *hsail_text_filename
);
#endif // ASSEMBLE_HPP_