update gt daxpy example for new gt-blas handle api

This commit is contained in:
Bryce Allen
2022-10-24 18:01:22 -04:00
parent 9fb70b5169
commit 124654b576

View File

@@ -73,7 +73,7 @@ int main(int argc, char **argv) {
device_id = gt::backend::clib::device_get(); device_id = gt::backend::clib::device_get();
vendor_id = gt::backend::clib::device_get_vendor_id(device_id); vendor_id = gt::backend::clib::device_get_vendor_id(device_id);
gt::blas::handle_t* h = gt::blas::create(); gt::blas::handle_t h;
gt::copy(x, d_x); gt::copy(x, d_x);
gt::copy(y, d_y); gt::copy(y, d_y);