diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-27 12:28:55 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-08-27 12:31:41 +0200 |
| commit | b4f35dbe44e07b597c3e7bb6d7562757069a7cb4 (patch) | |
| tree | 88af99a2cca9c514536b4b61785fa67b3543429c /dev/examples/opt/opt.cc | |
| parent | fbda49eea45ce08b9a72744c04761e1556ebd2fa (diff) | |
feat: moved SOCL into OCL, without SNU's baggage.v1.0.41
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/examples/opt/opt.cc')
| -rw-r--r-- | dev/examples/opt/opt.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/examples/opt/opt.cc b/dev/examples/opt/opt.cc index c1c2745..b34f2c7 100644 --- a/dev/examples/opt/opt.cc +++ b/dev/examples/opt/opt.cc @@ -26,7 +26,7 @@ static auto do_some(const std::string recv_data, const std::string check_data) const int hash_to_check = do_hash(check_data); /* here we assume this should match opt_hash */ const int opt_hash = do_hash(recv_data); /* we assume that the hash is correct */ - auto opt = snu::opt(snu::eval_eq(hash_to_check, opt_hash)); /* do the compute */ + auto opt = ocl::opt(ocl::eval_eq(hash_to_check, opt_hash)); /* do the compute */ return opt; } @@ -35,7 +35,7 @@ int main(int argc, char** argv) { // ... let's assume we fetch data from network... - snu::io::println("Testing data..."); + ocl::io::println("Testing data..."); auto opt = do_some("Ohio", "Ohio"); opt.expect("Checksum failed, Ohio isn't Ohio!"); |
