update readme and fixed typos

This commit is contained in:
Concedo
2023-04-11 23:53:21 +08:00
parent 9245c7d7d0
commit ca69e05d1f
3 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -34,8 +34,8 @@ extern "C"
//first digit is platform, second is devices
int platform = inputs.clblast_info/10;
int devices = inputs.clblast_info%10;
std::string platformenv = "KCPP_CBLAST_PLATFORM="+std::to_string(platform);
std::string deviceenv = "KCPP_CBLAST_DEVICES="+std::to_string(devices);
std::string platformenv = "KCPP_CLBLAST_PLATFORM="+std::to_string(platform);
std::string deviceenv = "KCPP_CLBLAST_DEVICES="+std::to_string(devices);
putenv(platformenv.c_str());
putenv(deviceenv.c_str());