rocSHMEM device API changes for bitcode support (#211)
ROCSHMEM_CTX_DEFAULT's visibility needs to be explicitly set to expose that as external device global variable in device bitcode.
Dieser Commit ist enthalten in:
1 Ursprung
be630d9b93
Commit
c952ffb40e
2 Dateien geändert
+2
-2
Keine Dateien entsprechen Ihrer Suche
@@ -115,7 +115,7 @@ typedef struct {
|
||||
/**
|
||||
* Shmem default context.
|
||||
*/
|
||||
extern __constant__ rocshmem_ctx_t ROCSHMEM_CTX_DEFAULT;
|
||||
extern "C" __device__ rocshmem_ctx_t __attribute__((visibility("default"))) ROCSHMEM_CTX_DEFAULT;
|
||||
|
||||
/**
|
||||
* Used internally to set default context.
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren