mirror of
https://github.com/huggingface/candle.git
synced 2025-06-18 11:37:11 +00:00
Add the f16 affine kernel.
This commit is contained in:
@ -28,6 +28,10 @@ extern "C" __global__ void FN_NAME( \
|
||||
} \
|
||||
} \
|
||||
|
||||
#if __CUDA_ARCH__ >= 530
|
||||
AFFINE_OP(__half, affine_f16)
|
||||
#endif
|
||||
|
||||
AFFINE_OP(float, affine_f32)
|
||||
AFFINE_OP(double, affine_f64)
|
||||
AFFINE_OP(uint32_t, affine_u32)
|
||||
|
Reference in New Issue
Block a user