forked from dmlc/dgl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feature] Compatibility to DLPack 0.6 in tensoradapter (dmlc#3803)
* compatibility to DLPack 0.6 in tensoradapter * fix * oops Co-authored-by: Jinjing Zhou <VoVAllen@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
25 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/*! | ||
* Copyright (c) 2020 by Contributors | ||
* \file tensoradapter_exports.h | ||
* \brief Header file for functions exposed by the adapter library. | ||
*/ | ||
|
||
#ifndef TENSORADAPTER_EXPORTS_H_ | ||
#define TENSORADAPTER_EXPORTS_H_ | ||
|
||
#if defined(WIN32) || defined(_WIN32) | ||
#define TA_EXPORTS __declspec(dllexport) | ||
#else | ||
#define TA_EXPORTS | ||
#endif | ||
|
||
#endif // TENSORADAPTER_EXPORTS_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters