[general] major overhaul of triton-c/triton-ir/triton-jit:

- Added alloc const
- Added atomics
- Pruning tuning space
- Added example for dot/conv/shift
- Bugfixes
This commit is contained in:
Philippe Tillet
2019-04-25 16:17:36 -04:00
parent 0c607c9392
commit 3413aad582
50 changed files with 2051 additions and 570 deletions

View File

@@ -64,9 +64,6 @@ buffer* buffer::create(driver::context* ctx, size_t size) {
host_buffer::host_buffer(driver::context *context, size_t size)
: buffer(context, host_buffer_t(), true){
hst_->data = new char[size];
std::cout << size << std::endl;
std::cout << "allocating " << (float*)hst_->data << std::endl;
std::cout << *((float*)(hst_->data) + 512*500) << std::endl;
}
//