Cleaned up module api
- Moved HIP_INIT_API from internal to all public apis - renamed hipLaunchModuleKernel to hipModuleLaunchKernel - Changed tests according to the changed api Change-Id: I822ff63c7c5b7dad340ece49456baf9d89428e9f
Αυτή η υποβολή περιλαμβάνεται σε:
@@ -71,7 +71,7 @@ int main(){
|
||||
HIP_LAUNCH_PARAM_END
|
||||
};
|
||||
|
||||
hipLaunchModuleKernel(Function, 1, 1, 1, LEN, 1, 1, 0, stream, NULL, (void**)&config);
|
||||
hipModuleLaunchKernel(Function, 1, 1, 1, LEN, 1, 1, 0, stream, NULL, (void**)&config);
|
||||
|
||||
hipStreamDestroy(stream);
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ THE SOFTWARE.
|
||||
#define fileName "vcpy_isa.co"
|
||||
|
||||
int main(){
|
||||
hipModule module;
|
||||
hipModule_t module;
|
||||
hipModuleLoad(&module, fileName);
|
||||
hipModuleUnload(module);
|
||||
}
|
||||
|
||||
Αναφορά σε νέο ζήτημα
Block a user