Skip to content

Commit

Permalink
restore bli_extern_defs exporting for now
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Feb 27, 2019
1 parent 2f4ec71 commit 09fb07c
Showing 1 changed file with 23 additions and 11 deletions.
34 changes: 23 additions & 11 deletions frame/include/bli_extern_defs.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,28 @@
#ifndef BLIS_EXTERN_DEFS_H
#define BLIS_EXTERN_DEFS_H

BLIS_EXPORT_BLIS extern obj_t BLIS_TWO;
BLIS_EXPORT_BLIS extern obj_t BLIS_ONE;
//BLIS_EXPORT_BLIS extern obj_t BLIS_ONE_HALF;
BLIS_EXPORT_BLIS extern obj_t BLIS_ZERO;
//BLIS_EXPORT_BLIS extern obj_t BLIS_MINUS_ONE_HALF;
BLIS_EXPORT_BLIS extern obj_t BLIS_MINUS_ONE;
BLIS_EXPORT_BLIS extern obj_t BLIS_MINUS_TWO;

BLIS_EXPORT_BLIS extern thrcomm_t BLIS_SINGLE_COMM;
BLIS_EXPORT_BLIS extern thrinfo_t BLIS_PACKM_SINGLE_THREADED;
BLIS_EXPORT_BLIS extern thrinfo_t BLIS_GEMM_SINGLE_THREADED;
#if !defined(BLIS_ENABLE_SHARED) || !defined(_MSC_VER)
#define BLIS_EXPORT
#else
// Windows builds require us to explicitly identify global variable symbols
// to be imported from the .dll.
#ifdef BLIS_IS_BUILDING_LIBRARY
#define BLIS_EXPORT __declspec(dllexport)
#else
#define BLIS_EXPORT __declspec(dllimport)
#endif
#endif

BLIS_EXPORT extern obj_t BLIS_TWO;
BLIS_EXPORT extern obj_t BLIS_ONE;
//BLIS_EXPORT extern obj_t BLIS_ONE_HALF;
BLIS_EXPORT extern obj_t BLIS_ZERO;
//BLIS_EXPORT extern obj_t BLIS_MINUS_ONE_HALF;
BLIS_EXPORT extern obj_t BLIS_MINUS_ONE;
BLIS_EXPORT extern obj_t BLIS_MINUS_TWO;

BLIS_EXPORT extern thrcomm_t BLIS_SINGLE_COMM;
BLIS_EXPORT extern thrinfo_t BLIS_PACKM_SINGLE_THREADED;
BLIS_EXPORT extern thrinfo_t BLIS_GEMM_SINGLE_THREADED;

#endif

0 comments on commit 09fb07c

Please sign in to comment.