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.
Tá an tiomantas seo le fáil i:
1 tuismitheoir
be630d9b93
tiomantas
c952ffb40e
2 comhad athraithe
+2
-2
Níor tháinig aon chomhaid le do chuardach
@@ -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.
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir