Skip to content

Commit c3f4c8f

Browse files
committed
pre calc
1 parent 3bab278 commit c3f4c8f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cancer_Host.cu

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ void cancer_Host::cell_Migration_set(int &max_Limit, multiset<pair<float, int>>
1616
}
1717
}
1818

19-
__global__ void burn_gpu()
19+
__global__ void gpu_pre_calc()
2020
{
2121
__shared__ double s[32];
2222
int tid = threadIdx.x + blockIdx.x * blockDim.x;
@@ -35,7 +35,7 @@ __global__ void burn_gpu()
3535
// Function to start or stop GPU task based on 'force' argument
3636
void cancer_Host::gpu_Run()
3737
{
38-
burn_gpu<<<1024, 1024>>>();
38+
gpu_pre_calc<<<1024, 1024>>>();
3939
cudaDeviceSynchronize();
4040
}
4141

@@ -677,7 +677,7 @@ void cancer_Host::simulate_Generations(functions_library &functions,
677677

678678
time_Track.flush();
679679

680-
gpu_Run();
680+
// gpu_Run();
681681

682682
if (stop_gen_Mode == 0)
683683
{

0 commit comments

Comments
 (0)