Files
rocm-systems/samples/common/assemble.hpp
T
Ramesh Errabolu (xN/A) TX f92e289a01 ECR #333755 - Update code to use 1.0F Api's of Finalizer. Presently disabling the build of all samples except BinarySearch
[git-p4: depot-paths = "//depot/stg/hsa/drivers/hsa/runtime/": change = 1130579]
2015-03-13 11:46:58 -05:00

38 строки
686 B
C++

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