Skip to content

Commit 497ef42

Browse files
committed
fbefg
1 parent 99d7ead commit 497ef42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CUDAKernels.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,10 @@ function KI.kernel_max_work_group_size(::CUDABackend, kikern::KI.KIKernel{<:CUDA
178178
Int(min(kikern.kern.pipeline.maxTotalThreadsPerThreadgroup, max_work_items))
179179
end
180180
function KI.max_work_group_size(::CUDABackend)::Int
181-
Int(attribute(device(), DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK))
181+
Int(attribute(device(), CUDA.DEVICE_ATTRIBUTE_MAX_THREADS_PER_BLOCK))
182182
end
183183
function KI.multiprocessor_count(::CUDABackend)::Int
184-
Int(attribute(device(), DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT))
184+
Int(attribute(device(), CUDA.DEVICE_ATTRIBUTE_MULTIPROCESSOR_COUNT))
185185
end
186186

187187
## indexing

0 commit comments

Comments
 (0)