Cleanup some cuda compile warnings.

This commit is contained in:
sfilippone
2025-03-27 11:23:40 +01:00
parent ecef7d8653
commit c4ab4be45d
12 changed files with 0 additions and 12 deletions
-1
View File
@@ -63,7 +63,6 @@ void spgpuCaxpby(spgpuHandle_t handle,
cuFloatComplex alpha,
__device cuFloatComplex* x)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();
-1
View File
@@ -65,7 +65,6 @@ void spgpuCupd_xyz(spgpuHandle_t handle,
__device cuFloatComplex * y,
__device cuFloatComplex *z)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();
-1
View File
@@ -63,7 +63,6 @@ void spgpuCxyzw(spgpuHandle_t handle,
__device cuFloatComplex * z,
__device cuFloatComplex *w)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();
-1
View File
@@ -60,7 +60,6 @@ void spgpuDaxpby(spgpuHandle_t handle,
double alpha,
__device double* x)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();
-1
View File
@@ -64,7 +64,6 @@ void spgpuDupd_xyz(spgpuHandle_t handle,
__device double* y,
__device double *z)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();
-1
View File
@@ -63,7 +63,6 @@ void spgpuDxyzw(spgpuHandle_t handle,
__device double * z,
__device double *w)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();
-1
View File
@@ -62,7 +62,6 @@ void spgpuSaxpby(spgpuHandle_t handle,
float alpha,
__device float* x)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();
-1
View File
@@ -64,7 +64,6 @@ void spgpuSupd_xyz(spgpuHandle_t handle,
__device float* y,
__device float *z)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();
-1
View File
@@ -63,7 +63,6 @@ void spgpuSxyzw(spgpuHandle_t handle,
__device float * z,
__device float *w)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();
-1
View File
@@ -64,7 +64,6 @@ void spgpuZaxpby(spgpuHandle_t handle,
cuDoubleComplex alpha,
__device cuDoubleComplex* x)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();
-1
View File
@@ -65,7 +65,6 @@ void spgpuZupd_xyz(spgpuHandle_t handle,
__device cuDoubleComplex * y,
__device cuDoubleComplex *z)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();
-1
View File
@@ -63,7 +63,6 @@ void spgpuZxyzw(spgpuHandle_t handle,
__device cuDoubleComplex * z,
__device cuDoubleComplex *w)
{
int msize = (n+BLOCK_SIZE-1)/BLOCK_SIZE;
int num_mp, max_threads_mp, num_blocks_mp, num_blocks;
dim3 block(BLOCK_SIZE);
num_mp = getGPUMultiProcessors();