Update cmap-example
This commit is contained in:
parent
eb939e0638
commit
e3c8f7bd16
2 changed files with 3 additions and 0 deletions
|
@ -30,6 +30,7 @@ else()
|
||||||
add_subdirectory(embd-input)
|
add_subdirectory(embd-input)
|
||||||
add_subdirectory(llama-bench)
|
add_subdirectory(llama-bench)
|
||||||
add_subdirectory(beam-search)
|
add_subdirectory(beam-search)
|
||||||
|
add_subdirectory(cmap-examples)
|
||||||
if (LLAMA_METAL)
|
if (LLAMA_METAL)
|
||||||
add_subdirectory(metal)
|
add_subdirectory(metal)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
// example of a C/C++ equivalent data structure to the python dict
|
// 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
|
// there are two: std::map automatically sorts on key; std::unordered_map doesn't
|
||||||
|
|
||||||
|
#include "llama.h"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue