Update cmap-example

This commit is contained in:
pudepiedj 2023-10-05 12:13:30 +01:00
parent eb939e0638
commit e3c8f7bd16
2 changed files with 3 additions and 0 deletions

View file

@ -30,6 +30,7 @@ else()
add_subdirectory(embd-input)
add_subdirectory(llama-bench)
add_subdirectory(beam-search)
add_subdirectory(cmap-examples)
if (LLAMA_METAL)
add_subdirectory(metal)
endif()

View file

@ -1,6 +1,8 @@
// example of a C/C++ equivalent data structure to the python dict
// there are two: std::map automatically sorts on key; std::unordered_map doesn't
#include "llama.h"
#include <iostream>
#include <map>