Andrzej Janik
5bfc2a56b9
Remove all use of L0
2021-08-06 02:15:57 +02:00
Andrzej Janik
638786b0ec
Hack enough functionality that AMD GPU code builds
2021-08-03 00:22:47 +02:00
Andrzej Janik
b4de21fbc5
Use calls to OpenCL builtins when translating sregs, do SPIRV->LLVM conversion on every build
2021-08-02 01:04:05 +02:00
Andrzej Janik
4a71fefb8a
Change codegen for mul.wide
2021-08-01 19:20:08 +02:00
Andrzej Janik
8f68287b18
Tune generated code, add a workaround for geekbench
2021-07-25 15:19:43 +02:00
Andrzej Janik
9d4f26bd07
Finish converting to OpenCL
2021-07-22 00:20:33 +02:00
Andrzej Janik
58fb8a234c
Synchronize through barrier
2021-07-06 00:16:46 +02:00
Andrzej Janik
ad2059872a
Regenerate SPIR-V for ptx_impl and fix weird handling of ptr-ptr add or sub
2021-07-03 02:13:38 +02:00
Andrzej Janik
e328ecc550
Be more correct when emitting brev, refactor inst->func call pass
2021-07-02 22:45:09 +02:00
Andrzej Janik
b2a455e12e
Bunch of tiny fixes and improvements
2021-06-28 01:40:35 +02:00
Andrzej Janik
55fbe1abb5
Fix bugs related to replay on Linux
2021-06-27 16:19:04 +02:00
Andrzej Janik
23874efe68
Allow ptr offsets to non-scalar types
2021-06-25 22:29:25 +02:00
Andrzej Janik
8ef6c3d8b6
Merge branch 'one_type_type2'
2021-06-25 01:20:38 +02:00
Andrzej Janik
2e8716bf0d
Clean up warnings
2021-06-25 01:20:16 +02:00
Andrzej Janik
9a568e2969
Update tests
2021-06-25 01:08:45 +02:00
Andrzej Janik
e018de83ae
Prepare level zero and our compiler for global addressing
2021-06-20 12:13:40 +02:00
Andrzej Janik
951c7558cc
Fix problems with non-dereferencing inline addition
2021-06-12 16:17:32 +02:00
Andrzej Janik
2198862e76
Fix handling of kernel args in stateful conversion
2021-06-11 12:36:23 +02:00
Andrzej Janik
f0771e1fb6
Slightly improve stateful optimization
2021-06-11 00:00:56 +02:00
Andrzej Janik
994cfb3386
Fix small bug in stateful postprocess
2021-06-06 21:51:40 +02:00
Andrzej Janik
9ad88ac982
Make stateful optimization build
2021-06-06 18:14:49 +02:00
Andrzej Janik
e940b9400f
Bring back support for dynamic shared memory
2021-06-06 17:25:05 +02:00
Andrzej Janik
491e71e346
Make vector extraction honor relaxed implicit conversion semantics
2021-06-06 00:10:26 +02:00
Andrzej Janik
83ba70bf37
Remove last uses of new_todo
2021-06-05 01:15:36 +02:00
Andrzej Janik
90960fd923
Fix method arg load generation
2021-06-05 00:49:27 +02:00
Andrzej Janik
f70abd065b
Continue attempts at fixing code emission for method args
2021-06-04 00:48:51 +02:00
Andrzej Janik
2e6f7e3fdc
Implement address-taking mov
2021-05-31 00:00:57 +02:00
Andrzej Janik
3d9a79c41e
Re-enable relaxed conversions
2021-05-30 23:06:44 +02:00
Andrzej Janik
4091f658b2
Fix PtrAccess
2021-05-30 20:21:43 +02:00
Andrzej Janik
8d74c16c86
Refactor implicit conversions
2021-05-30 16:08:18 +02:00
Andrzej Janik
2fc7af0434
Fix level zero bindings
2021-05-28 00:14:45 +02:00
Andrzej Janik
e40785aa74
Refactor L0 bindings
2021-05-27 02:05:17 +02:00
Andrzej Janik
82b5cef0bd
Carry state space with pointer
2021-05-15 15:58:11 +02:00
Andrzej Janik
425edfcdd4
Simplify typing
2021-05-07 18:22:09 +02:00
Andrzej Janik
7f051ad20e
Fix and test
2021-05-06 01:32:45 +02:00
Andrzej Janik
9d92a6e284
Start converting the translation to one type type
2021-05-05 22:56:58 +02:00
Andrzej Janik
d51aaaf552
Throw away special variable types
2021-04-17 14:01:50 +02:00
Andrzej Janik
a55c851eaa
Add comment
2021-04-15 20:01:01 +02:00
Andrzej Janik
8cd3db6648
Remove LdStType
2021-04-15 19:53:54 +02:00
Andrzej Janik
4d04fe251d
Remove all remaining subenums
2021-04-15 19:21:52 +02:00
Andrzej Janik
a0baad9456
Convert enumes to 1TT
2021-04-15 19:10:45 +02:00
Andrzej Janik
15f465041d
Implement setp.nan and setp.num
2021-03-03 23:35:18 +01:00
Andrzej Janik
17291019e3
Implement atomic float add
2021-03-03 22:41:47 +01:00
Andrzej Janik
efd91e270c
Implement non-coherent loads and implicit sign-extending conversions
2021-03-03 21:22:31 +01:00
Andrzej Janik
cdac38d572
Support kernel tuning directives
2021-03-03 00:59:47 +01:00
Andrzej Janik
648035a01a
Update rspirv/spirv_headers to the newest version
2021-03-02 01:42:23 +01:00
Andrzej Janik
178ec59af6
Implement bfi instruction
2021-03-01 23:01:53 +01:00
Andrzej Janik
d3cd2dc8b4
Do slightly better when it comes to PTX error recovery
2021-03-01 02:24:27 +01:00
Andrzej Janik
a906c350f2
Make misc fixes ( #41 )
...
* Update ze_loader.lib to the newest version
* Export _ptsz/_ptds for which we have a legacy stream implementations
* Stop producing build logs if we are not looking at them anyway
2021-02-22 01:29:03 +01:00
Andrzej Janik
972f612562
Fix signed integer conversion ( #36 )
...
This fixes the last remaining bug preventing end-to-end GeekBench run, so also update Geekbench results in README
2021-01-26 21:05:09 +01:00