[dtests] refactor windows specific changes (#1313)
* [dtests] refactor windows specific changes
* Refactor hipMemoryAllocateCoherentDriver - PR- 1309
* Fix missing z in _putenv_s
* Revert "Fix missing z in _putenv_s"
This reverts commit 099a1b20a5c75c5f122d57c0ad2bca01745cdc9c.
* Refactor changes from PR 1299
* Update hipEnvVarDriver.cpp
[ROCm/hip commit: 44422065a1]
Αυτή η υποβολή περιλαμβάνεται σε:
1 γονέας
3c8f84a5c3
υποβολή
971b75588e
5 files changed
+11
-24
No files matched your search
@@ -30,13 +30,7 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA
|
||||
#include "hip/hip_runtime.h"
|
||||
#include <chrono>
|
||||
#include <thread>
|
||||
|
||||
#ifdef _WIN64
|
||||
#define popen(x,y) _popen(x,y)
|
||||
#define pclose(x) _pclose(x)
|
||||
#define setenv(x,y,z) _putenv_s(x,y)
|
||||
#define unsetenv(x) _putenv_s(x,"")
|
||||
#endif
|
||||
#include "test_common.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
Reference in new issue
Block a user