Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1975390
Initial changes for fp16 support
testhound Sep 21, 2021
98f9cd0
Merge branch 'master' into testhound/fp16-support
testhound Sep 21, 2021
8d30278
Add remaining fp16 operators except divide
testhound Oct 5, 2021
b51a32b
Merge branch 'master' into testhound/fp16-support
testhound Oct 6, 2021
7800f8d
Fix cuda simulation of fp16 operators
testhound Oct 6, 2021
9571f6e
Fix documentation underline error
testhound Oct 6, 2021
95727a4
Fix FROM_DTYPE for float16
testhound Oct 7, 2021
e6936e4
Fix failing ufunc testcase for fp16
testhound Oct 11, 2021
1c6a2bc
skip float16 arrays
testhound Oct 13, 2021
40751ce
Remove unnecessary operator handling, cpu target boxing/unboxing, ref…
testhound Oct 18, 2021
fd559ae
Simplify code generation for intrinsic fp16 mac, remove accidently co…
testhound Oct 18, 2021
caa6eeb
fp16 add/sub/mul/neg/absd oeprators: Add code to only run tests and l…
testhound Oct 28, 2021
186711b
Revert skip of unit test
testhound Oct 28, 2021
7f35c12
Skip fp16 unit tests if compute capability or toolkit version require…
testhound Oct 28, 2021
efee8a5
Pass fp16 arguments as int16 arguments to be consistent with nvcc
testhound Nov 10, 2021
164ae5b
Merge branch 'master' into testhound/fp16-support
testhound Nov 10, 2021
c3722ae
Move fp16 data model support to cuda model since there is no cpu supp…
testhound Nov 16, 2021
66e7d45
Initial support for casting from/to fp16 and other float/integer types
testhound Nov 24, 2021
2e4701d
Add lowering casts and tests case from/to fp16 to float32/float64/int…
testhound Nov 29, 2021
4feb427
Merge testhound/fp16-support with master Numba branch
testhound Nov 29, 2021
1821e0a
Split toolkit_and_compute_supported method into two separate methods …
testhound Nov 29, 2021
81eea70
Fix int to fp16 conversions, add more test cases, remove redundant ch…
testhound Dec 6, 2021
e8b66f3
Merge branch 'master' into testhound/fp16-support
testhound Dec 6, 2021
b462a87
Skip intrinsics tests when compiling for simulator
testhound Dec 6, 2021
99f74b8
Remove unnecessary test cases, add test cases for int literal to float16
testhound Dec 13, 2021
9f5d984
Merge branch 'master' into testhound/fp16-support
testhound Dec 13, 2021
fdca65c
Clarify comments and skip messages in test_intrinsics
gmarkall Dec 14, 2021
65686b5
Test casts of int and float literals to float16
gmarkall Dec 14, 2021
b6ae787
Formatting simplification in cudadecl.py
gmarkall Dec 14, 2021
5a1ae23
Simplify float16 lowering logic
gmarkall Dec 14, 2021
6689858
CUDA: Reorder FloatModel checks in ascending order
gmarkall Dec 14, 2021
750edaa
Use decorators to skip tests
gmarkall Dec 14, 2021
22e3286
Address PR #7460 feedback
gmarkall Dec 14, 2021
e734e9e
Add introduction to 16-bit FP intrinsics docs
gmarkall Dec 14, 2021
20c1d4f
Skip float16 casting test that uses arithmetic if CC < 5.3
gmarkall Dec 14, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Simplify code generation for intrinsic fp16 mac, remove accidently co…
…mmited code
  • Loading branch information
testhound committed Oct 18, 2021
commit fd559aeb8e556f0fea585c466fb2fda74ca95012
6 changes: 2 additions & 4 deletions numba/cuda/cudaimpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -441,10 +441,8 @@ def ptx_hfma(context, builder, sig, args):
hfma_inline_constraints = "=h,h,h,h"
hfma_inline = ir.InlineAsm(hfma_fn_type, hfma_inline_asm,
hfma_inline_constraints)
arg1 = args[0]
arg2 = args[1]
arg3 = args[2]
return builder.call(hfma_inline, [arg1, arg2, arg3])

return builder.call(hfma_inline, args)

# See:
# https://docs.nvidia.com/cuda/libdevice-users-guide/__nv_cbrt.html#__nv_cbrt
Expand Down
1 change: 0 additions & 1 deletion numba/cuda/tests/cudadrv/test_managed_alloc.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@


@skip_on_cudasim('CUDA Driver API unsupported in the simulator')
@unittest.skip
@linux_only
@skip_on_arm('Managed Alloc support is experimental/untested on ARM')
class TestManagedAlloc(ContextResettingTestCase):
Expand Down