Skip to content

Commit 20bd285

Browse files
committed
Merge remote-tracking branch 'origin/SYCLomatic' into insert_header
2 parents 8265304 + 96fb121 commit 20bd285

319 files changed

Lines changed: 5664 additions & 1605 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Option: --use-experimental-features=bindless_images
2+
3+
void test(cudaExternalMemory_t extMem) {
4+
// Start
5+
cudaDestroyExternalMemory(extMem /*cudaExternalMemory_t*/);
6+
// End
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// Option: --use-experimental-features=bindless_images
2+
3+
void test(cudaExternalSemaphore_t extSem) {
4+
// Start
5+
cudaDestroyExternalSemaphore(extSem /*cudaExternalSemaphore_t*/);
6+
// End
7+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Option: --use-experimental-features=bindless_images
2+
3+
void test(void **devPtr, cudaExternalMemory_t extMem,
4+
const cudaExternalMemoryBufferDesc *bufferDesc) {
5+
// Start
6+
cudaExternalMemoryGetMappedBuffer(
7+
devPtr /*void ***/, extMem /*cudaExternalMemory_t*/,
8+
bufferDesc /*const cudaExternalMemoryBufferDesc **/);
9+
// End
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Option: --use-experimental-features=bindless_images
2+
3+
void test(cudaMipmappedArray_t *mipmap, cudaExternalMemory_t extMem,
4+
const cudaExternalMemoryMipmappedArrayDesc *mipmapDesc) {
5+
// Start
6+
cudaExternalMemoryGetMappedMipmappedArray(
7+
mipmap /*cudaMipmappedArray_t **/, extMem /*cudaExternalMemory_t*/,
8+
mipmapDesc /*const cudaExternalMemoryMipmappedArrayDesc **/);
9+
// End
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Option: --use-experimental-features=bindless_images
2+
3+
void test(cudaExternalMemory_t *extMem,
4+
const cudaExternalMemoryHandleDesc *memHandleDesc) {
5+
// Start
6+
cudaImportExternalMemory(
7+
extMem /*cudaExternalMemory_t **/,
8+
memHandleDesc /*const cudaExternalMemoryHandleDesc **/);
9+
// End
10+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// Option: --use-experimental-features=bindless_images
2+
3+
void test(cudaExternalSemaphore_t *extSem,
4+
const cudaExternalSemaphoreHandleDesc *semHandleDesc) {
5+
// Start
6+
cudaImportExternalSemaphore(
7+
extSem /*cudaExternalSemaphore_t **/,
8+
semHandleDesc /*const cudaExternalSemaphoreHandleDesc **/);
9+
// End
10+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Option: --use-experimental-features=bindless_images
2+
3+
void test(const cudaExternalSemaphore_t *extSemArray,
4+
const cudaExternalSemaphoreSignalParams *paramsArray,
5+
unsigned int numExtSems, cudaStream_t stream = 0) {
6+
// Start
7+
cudaSignalExternalSemaphoresAsync(
8+
extSemArray /*const cudaExternalSemaphore_t **/,
9+
paramsArray /*const cudaExternalSemaphoreSignalParams **/,
10+
numExtSems /*unsigned int*/);
11+
cudaSignalExternalSemaphoresAsync(
12+
extSemArray /*const cudaExternalSemaphore_t **/,
13+
paramsArray /*const cudaExternalSemaphoreSignalParams **/,
14+
numExtSems /*unsigned int*/, stream /*cudaStream_t*/);
15+
// End
16+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Option: --use-experimental-features=bindless_images
2+
3+
void test(const cudaExternalSemaphore_t *extSemArray,
4+
const cudaExternalSemaphoreWaitParams *paramsArray,
5+
unsigned int numExtSems, cudaStream_t stream = 0) {
6+
// Start
7+
cudaWaitExternalSemaphoresAsync(
8+
extSemArray /*const cudaExternalSemaphore_t **/,
9+
paramsArray /*const cudaExternalSemaphoreWaitParams **/,
10+
numExtSems /*unsigned int*/);
11+
cudaWaitExternalSemaphoresAsync(
12+
extSemArray /*const cudaExternalSemaphore_t **/,
13+
paramsArray /*const cudaExternalSemaphoreWaitParams **/,
14+
numExtSems /*unsigned int*/, stream /*cudaStream_t*/);
15+
// End
16+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#include "cublas_v2.h"
2+
3+
void test(cublasHandle_t handle, int n, const void *x, cudaDataType x_type,
4+
int incx, void *result, cudaDataType result_type,
5+
cudaDataType execution_type) {
6+
// Start
7+
cublasAsumEx(handle /*cublasHandle_t*/, n /*int*/, x /*const void **/,
8+
x_type /*cudaDataType*/, incx /*int*/, result /*void **/,
9+
result_type /*cudaDataType*/, execution_type /*cudaDataType*/);
10+
// End
11+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#include "cublas_v2.h"
2+
3+
void test(cublasHandle_t handle, int64_t n, const void *x, cudaDataType x_type,
4+
int64_t incx, void *result, cudaDataType result_type,
5+
cudaDataType execution_type) {
6+
// Start
7+
cublasAsumEx_64(handle /*cublasHandle_t*/, n /*int64_t*/, x /*const void **/,
8+
x_type /*cudaDataType*/, incx /*int64_t*/, result /*void **/,
9+
result_type /*cudaDataType*/,
10+
execution_type /*cudaDataType*/);
11+
// End
12+
}

0 commit comments

Comments
 (0)