Skip to content

Commit

Permalink
src: no need to do anything in simgrid
Browse files Browse the repository at this point in the history
  • Loading branch information
nfurmento committed Sep 5, 2024
1 parent dcbd48f commit 21ee4f6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/drivers/cuda/driver_cuda.c
Original file line number Diff line number Diff line change
Expand Up @@ -1251,9 +1251,7 @@ uintptr_t _starpu_cuda_malloc_on_device(int devid, size_t size, int flags)

void _starpu_cuda_memset_on_device(uintptr_t ptr, int c, size_t size)
{
#ifdef STARPU_SIMGRID
ptr = (void *)1;
#else
#ifndef STARPU_SIMGRID
cudaError_t status;
status = cudaMemset((void*) ptr, c, size);
if (STARPU_UNLIKELY(status != cudaSuccess))
Expand Down

0 comments on commit 21ee4f6

Please sign in to comment.