summaryrefslogtreecommitdiffhomepage
path: root/dev/examples/opt
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-11-17 10:31:30 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-11-17 10:31:30 +0100
commit3827ae4e821ff3758d1eaf2dbacc55a22f802731 (patch)
tree0768b1a509bd104627675127f1e9785c702e7621 /dev/examples/opt
parent5c5a101c9618f8edea5038e94df64508b0f0a70e (diff)
feat: fixing merge conflicts.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/examples/opt')
-rw-r--r--dev/examples/opt/opt.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/examples/opt/opt.cc b/dev/examples/opt/opt.cc
index eb725c4..8a74fa2 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 = scl::opt(scl::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...
- scl::io::println("Testing data...");
+ ocl::io::println("Testing data...");
auto opt = do_some("Ohio", "Ohio");
opt.try_or_throw("Checksum failed, Ohio isn't Ohio!");